home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Yellows 2.0 - Tokyo
/
Akira Gomi Photographs - Yellows 2.0 - Tokyo 1993.iso
/
DIGITALOGUE info.
/
DIGITALOGUE info..rsrc
/
CODE_98_XMain.txt
< prev
next >
Wrap
Text File
|
1993-10-13
|
267KB
|
4,865 lines
# near model CODE resource
# jump table entries: 0-12 (13 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000008 266E 000C movea.l A3, [A6 + 0xC]
0000000C 286E 0008 movea.l A4, [A6 + 0x8]
00000010 382C 0004 move.w D4, [A4 + 0x4]
00000014 9854 sub.w D4, [A4]
00000016 3A2B 0004 move.w D5, [A3 + 0x4]
0000001A 9A53 sub.w D5, [A3]
0000001C 3E2B 0002 move.w D7, [A3 + 0x2]
00000020 9E6C 0002 sub.w D7, [A4 + 0x2]
00000024 302B 0006 move.w D0, [A3 + 0x6]
00000028 48C0 ext.l D0
0000002A 322C 0006 move.w D1, [A4 + 0x6]
0000002E 48C1 ext.l D1
00000030 9081 sub.l D0, D1
00000032 3C00 move.w D6, D0
00000034 9C47 sub.w D6, D7
00000036 2F0C move.l -[A7], A4
00000038 3006 move.w D0, D6
0000003A E240 asr D0.w, 1
0000003C D047 add.w D0, D7
0000003E 3F00 move.w -[A7], D0
00000040 48C5 ext.l D5
00000042 48C4 ext.l D4
00000044 2005 move.l D0, D5
00000046 9084 sub.l D0, D4
00000048 7203 moveq.l D1, 0x03
0000004A 4EBA 2756 jsr [PC + 0x2756 /* 000027A2 */]
0000004E 9054 sub.w D0, [A4]
00000050 3F00 move.w -[A7], D0
00000052 A8A8 syscall OffsetRect
00000054 4CEE 18F0 FFE8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x18]
0000005A 4E5E unlink A6
0000005C 4E75 rts
fn0000005E:
0000005E 4E56 FFF8 link A6, -0x0008
00000062 2F0C move.l -[A7], A4
00000064 598F subq.l A7, 4
00000066 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
0000006C 3F2E 000A move.w -[A7], [A6 + 0xA]
00000070 A9A0 syscall GetResource
00000072 285F movea.l A4, [A7]+
00000074 2054 movea.l A0, [A4]
00000076 43EE FFF8 lea.l A1, [A6 - 0x8]
0000007A 22D8 move.l [A1]+, [A0]+
0000007C 22D8 move.l [A1]+, [A0]+
0000007E 486D FE0A pea.l [A5 - 0x1F6]
00000082 486E FFF8 pea.l [A6 - 0x8]
00000086 4EBA FF78 jsr [PC - 0x88 /* 00000000 */]
0000008A 206E 000C movea.l A0, [A6 + 0xC]
0000008E 20AE FFF8 move.l [A0], [A6 - 0x8]
00000092 286E FFF4 movea.l A4, [A6 - 0xC]
00000096 4E5E unlink A6
00000098 4E75 rts
fn0000009A:
0000009A 4E56 0000 link A6, 0
0000009E 48E7 0108 movem.l -[A7], D7,A4
000000A2 3E2E 000A move.w D7, [A6 + 0xA]
000000A6 598F subq.l A7, 4
000000A8 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
000000AE 3F07 move.w -[A7], D7
000000B0 A9A0 syscall GetResource
000000B2 285F movea.l A4, [A7]+
000000B4 486D FE0A pea.l [A5 - 0x1F6]
000000B8 2054 movea.l A0, [A4]
000000BA 2F08 move.l -[A7], A0
000000BC 4EBA FF42 jsr [PC - 0xBE /* 00000000 */]
000000C0 598F subq.l A7, 4
000000C2 3F07 move.w -[A7], D7
000000C4 7000 moveq.l D0, 0x00
000000C6 2F00 move.l -[A7], D0
000000C8 72FF moveq.l D1, 0xFFFFFFFF
000000CA 2F01 move.l -[A7], D1
000000CC A97C syscall GetNewDialog
000000CE 201F move.l D0, [A7]+
000000D0 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
000000D6 4E5E unlink A6
000000D8 4E75 rts
export_1:
fn000000DA:
000000DA 4E56 0000 link A6, 0
000000DE 48E7 0108 movem.l -[A7], D7,A4
000000E2 3E2E 000A move.w D7, [A6 + 0xA]
000000E6 598F subq.l A7, 4
000000E8 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
000000EE 3F07 move.w -[A7], D7
000000F0 A9A0 syscall GetResource
000000F2 285F movea.l A4, [A7]+
000000F4 486D FE0A pea.l [A5 - 0x1F6]
000000F8 2054 movea.l A0, [A4]
000000FA 2F08 move.l -[A7], A0
000000FC 4EBA FF02 jsr [PC - 0xFE /* 00000000 */]
00000100 4A2E 000F tst.b [A6 + 0xF]
00000104 504F addq.w A7, 8
00000106 670E beq +0x10 /* 00000116 */
00000108 558F subq.l A7, 2
0000010A 3F07 move.w -[A7], D7
0000010C 7000 moveq.l D0, 0x00
0000010E 2F00 move.l -[A7], D0
00000110 A986 syscall StopAlert
00000112 301F move.w D0, [A7]+
00000114 600C bra +0xE /* 00000122 */
label00000116:
00000116 558F subq.l A7, 2
00000118 3F07 move.w -[A7], D7
0000011A 7000 moveq.l D0, 0x00
0000011C 2F00 move.l -[A7], D0
0000011E A985 syscall Alert
00000120 301F move.w D0, [A7]+
label00000122:
00000122 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
00000128 4E5E unlink A6
0000012A 4E75 rts
fn0000012C:
0000012C 4E56 0000 link A6, 0
00000130 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000134 266E 0008 movea.l A3, [A6 + 0x8]
00000138 558F subq.l A7, 2
0000013A A994 syscall CurResFile
0000013C 3E1F move.w D7, [A7]+
0000013E 3F2D FD98 move.w -[A7], [A5 - 0x268]
00000142 A998 syscall UseResFile
00000144 4213 clr.b [A3]
00000146 598F subq.l A7, 4
00000148 2F3C 7665 7273 move.l -[A7], 0x76657273 /* 'vers' */
0000014E 7001 moveq.l D0, 0x01
00000150 3F00 move.w -[A7], D0
00000152 A81F syscall Get1Resource
00000154 285F movea.l A4, [A7]+
00000156 200C move.l D0, A4
00000158 6716 beq +0x18 /* 00000170 */
0000015A 2054 movea.l A0, [A4]
0000015C 7C00 moveq.l D6, 0x00
0000015E 1C28 0006 move.b D6, [A0 + 0x6]
00000162 4A86 tst.l D6
00000164 5C88 addq.l A0, 6
00000166 224B movea.l A1, A3
00000168 48C6 ext.l D6
0000016A 2006 move.l D0, D6
0000016C 5280 addq.l D0, 1
0000016E A02E syscall BlockMove/BlockMoveData
label00000170:
00000170 3F07 move.w -[A7], D7
00000172 A998 syscall UseResFile
00000174 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
0000017A 4E5E unlink A6
0000017C 4E75 rts
fn0000017E:
0000017E 4E56 FEFE link A6, -0x0102
00000182 48E7 0118 movem.l -[A7], D7,A3,A4
00000186 49EE FF00 lea.l A4, [A6 - 0x100]
0000018A 3E3C 7861 move.w D7, 0x7861 /* 'xa' */
0000018E 2F0C move.l -[A7], A4
00000190 4EBA FF9A jsr [PC - 0x66 /* 0000012C */]
00000194 2F0C move.l -[A7], A4
00000196 486D FC56 pea.l [A5 - 0x3AA]
0000019A 486D FC58 pea.l [A5 - 0x3A8]
0000019E 486D FC5A pea.l [A5 - 0x3A6]
000001A2 A98B syscall ParamText
000001A4 4A2D FC78 tst.b [A5 - 0x388]
000001A8 584F addq.w A7, 4
000001AA 6712 beq +0x14 /* 000001BE */
000001AC 598F subq.l A7, 4
000001AE AA2A syscall GetMainDevice
000001B0 4EBA 0068 jsr [PC + 0x68 /* 0000021A */]
000001B4 4A00 tst.b D0
000001B6 584F addq.w A7, 4
000001B8 6704 beq +0x6 /* 000001BE */
000001BA 3E3C 7862 move.w D7, 0x7862 /* 'xb' */
label000001BE:
000001BE 48C7 ext.l D7
000001C0 2F07 move.l -[A7], D7
000001C2 4EBA FED6 jsr [PC - 0x12A /* 0000009A */]
000001C6 2640 movea.l A3, D0
000001C8 7000 moveq.l D0, 0x00
000001CA 2F00 move.l -[A7], D0
000001CC 486E FEFE pea.l [A6 - 0x102]
000001D0 A991 syscall ModalDialog
000001D2 302E FEFE move.w D0, [A6 - 0x102]
000001D6 5340 subq.w D0, 1
000001D8 584F addq.w A7, 4
000001DA 6B2E bmi +0x30 /* 0000020A */
000001DC 0C40 0005 cmpi.w D0, 0x5
000001E0 6E28 bgt +0x2A /* 0000020A */
000001E2 D040 add.w D0, D0
000001E4 303B 0006 move.w D0, [PC + D0.w + 0x6]
000001E8 4EFB 0000 jmp [PC + D0.w]
000001EC 000E 0012 ori.b A6, 0x12
000001F0 0016 001A ori.b [A6], 0x1A
000001F4 0020 001E ori.b -[A0], 0x1E
000001F8 7E02 moveq.l D7, 0x02
000001FA 600E bra +0x10 /* 0000020A */
000001FC 7E07 moveq.l D7, 0x07
000001FE 600A bra +0xC /* 0000020A */
00000200 7E03 moveq.l D7, 0x03
00000202 6006 bra +0x8 /* 0000020A */
00000204 7E05 moveq.l D7, 0x05
00000206 6002 bra +0x4 /* 0000020A */
00000208 7E06 moveq.l D7, 0x06
label0000020A:
0000020A 2F0B move.l -[A7], A3
0000020C A983 syscall DisposeDialog
0000020E 2007 move.l D0, D7
00000210 4CEE 1880 FEF2 movem.l D7,A3,A4, [A6 - 0x10E]
00000216 4E5E unlink A6
00000218 4E75 rts
fn0000021A:
0000021A 4E56 0000 link A6, 0
0000021E 48E7 0018 movem.l -[A7], A3,A4
00000222 286E 0008 movea.l A4, [A6 + 0x8]
00000226 200C move.l D0, A4
00000228 6714 beq +0x16 /* 0000023E */
0000022A 2054 movea.l A0, [A4]
0000022C 2668 0016 movea.l A3, [A0 + 0x16]
00000230 2053 movea.l A0, [A3]
00000232 7002 moveq.l D0, 0x02
00000234 B068 0020 cmp.w D0, [A0 + 0x20]
00000238 6C04 bge +0x6 /* 0000023E */
0000023A 7001 moveq.l D0, 0x01
0000023C 6002 bra +0x4 /* 00000240 */
label0000023E:
0000023E 7000 moveq.l D0, 0x00
label00000240:
00000240 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000246 4E5E unlink A6
00000248 4E75 rts
fn0000024A:
0000024A 4E56 0000 link A6, 0
0000024E 48E7 0108 movem.l -[A7], D7,A4
00000252 558F subq.l A7, 2
00000254 A994 syscall CurResFile
00000256 3E1F move.w D7, [A7]+
00000258 3F2D FD98 move.w -[A7], [A5 - 0x268]
0000025C A998 syscall UseResFile
0000025E 598F subq.l A7, 4
00000260 2F3C 5657 7374 move.l -[A7], 0x56577374 /* 'VWst' */
00000266 7000 moveq.l D0, 0x00
00000268 3F00 move.w -[A7], D0
0000026A A9A0 syscall GetResource
0000026C 285F movea.l A4, [A7]+
0000026E 200C move.l D0, A4
00000270 6618 bne +0x1A /* 0000028A */
00000272 700C moveq.l D0, 0x0C
00000274 A122 syscall NewHandle, flags=1
00000276 2848 movea.l A4, A0
00000278 2F0C move.l -[A7], A4
0000027A 2F3C 5657 7374 move.l -[A7], 0x56577374 /* 'VWst' */
00000280 7000 moveq.l D0, 0x00
00000282 3F00 move.w -[A7], D0
00000284 486D FC5C pea.l [A5 - 0x3A4]
00000288 A9AB syscall AddResource
label0000028A:
0000028A 206D FD84 movea.l A0, [A5 - 0x27C]
0000028E 2050 movea.l A0, [A0]
00000290 2254 movea.l A1, [A4]
00000292 700C moveq.l D0, 0x0C
00000294 A02E syscall BlockMove/BlockMoveData
00000296 2F0C move.l -[A7], A4
00000298 A9AA syscall ChangedResource
0000029A 2F0C move.l -[A7], A4
0000029C A9B0 syscall WriteResource
0000029E 2F0C move.l -[A7], A4
000002A0 A9A3 syscall ReleaseResource
000002A2 3F07 move.w -[A7], D7
000002A4 A998 syscall UseResFile
000002A6 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
000002AC 4E5E unlink A6
000002AE 4E75 rts
fn000002B0:
000002B0 4E56 FFCC link A6, -0x0034
000002B4 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
000002B8 47EE FFE0 lea.l A3, [A6 - 0x20]
000002BC 49EE FFD2 lea.l A4, [A6 - 0x2E]
000002C0 7801 moveq.l D4, 0x01
000002C2 4205 clr.b D5
000002C4 4206 clr.b D6
000002C6 4878 2135 push.l 0x2135 /* '!5' */
000002CA 4EBA FDCE jsr [PC - 0x232 /* 0000009A */]
000002CE 2D40 FFCE move.l [A6 - 0x32], D0
000002D2 206D FD84 movea.l A0, [A5 - 0x27C]
000002D6 2050 movea.l A0, [A0]
000002D8 2D48 FFFC move.l [A6 - 0x4], A0
000002DC 1950 0007 move.b [A4 + 0x7], [A0]
000002E0 206E FFFC movea.l A0, [A6 - 0x4]
000002E4 1968 0003 0004 move.b [A4 + 0x4], [A0 + 0x3]
000002EA 206E FFFC movea.l A0, [A6 - 0x4]
000002EE 1968 0005 0005 move.b [A4 + 0x5], [A0 + 0x5]
000002F4 206E FFFC movea.l A0, [A6 - 0x4]
000002F8 1968 0002 0006 move.b [A4 + 0x6], [A0 + 0x2]
000002FE 422C 000B clr.b [A4 + 0xB]
00000302 426C 000C clr.w [A4 + 0xC]
00000306 206E FFFC movea.l A0, [A6 - 0x4]
0000030A 1028 0004 move.b D0, [A0 + 0x4]
0000030E 584F addq.w A7, 4
00000310 6708 beq +0xA /* 0000031A */
00000312 197C 0001 000C move.b [A4 + 0xC], 0x1
00000318 6006 bra +0x8 /* 00000320 */
label0000031A:
0000031A 197C 0001 000B move.b [A4 + 0xB], 0x1
label00000320:
00000320 422C 000A clr.b [A4 + 0xA]
00000324 426C 0008 clr.w [A4 + 0x8]
00000328 206E FFFC movea.l A0, [A6 - 0x4]
0000032C 7001 moveq.l D0, 0x01
0000032E B028 000A cmp.b D0, [A0 + 0xA]
00000332 6E08 bgt +0xA /* 0000033C */
00000334 7003 moveq.l D0, 0x03
00000336 B028 000A cmp.b D0, [A0 + 0xA]
0000033A 6C0A bge +0xC /* 00000346 */
label0000033C:
0000033C 206E FFFC movea.l A0, [A6 - 0x4]
00000340 117C 0001 000A move.b [A0 + 0xA], 0x1
label00000346:
00000346 206E FFFC movea.l A0, [A6 - 0x4]
0000034A 1028 000A move.b D0, [A0 + 0xA]
0000034E 4880 ext.w D0
00000350 5E40 addq.w D0, 7
00000352 19BC 0001 0000 move.b [A4 + D0.w], 0x1
00000358 7E04 moveq.l D7, 0x04
0000035A 760C moveq.l D3, 0x0C
label0000035C:
0000035C 17B4 7000 7000 move.b [A3 + D7.w], [A4 + D7.w]
00000362 2007 move.l D0, D7
00000364 5287 addq.l D7, 1
00000366 B687 cmp.l D3, D7
00000368 6CF2 bge -0xC /* 0000035C */
0000036A 4AAE 0008 tst.l [A6 + 0x8]
0000036E 6600 0120 bne +0x122 /* 00000490 */
00000372 2F2E FFCE move.l -[A7], [A6 - 0x32]
00000376 700B moveq.l D0, 0x0B
00000378 3F00 move.w -[A7], D0
0000037A 486E FFEE pea.l [A6 - 0x12]
0000037E 486E FFF0 pea.l [A6 - 0x10]
00000382 486E FFF4 pea.l [A6 - 0xC]
00000386 A98D syscall GetDialogItem/GetDItem
00000388 2F2E FFF0 move.l -[A7], [A6 - 0x10]
0000038C 3F3C 00FF move.w -[A7], 0xFF
00000390 A95D syscall HiliteControl
00000392 2F2E FFCE move.l -[A7], [A6 - 0x32]
00000396 700C moveq.l D0, 0x0C
00000398 3F00 move.w -[A7], D0
0000039A 486E FFEE pea.l [A6 - 0x12]
0000039E 486E FFF0 pea.l [A6 - 0x10]
000003A2 486E FFF4 pea.l [A6 - 0xC]
000003A6 A98D syscall GetDialogItem/GetDItem
000003A8 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000003AC 3F3C 00FF move.w -[A7], 0xFF
000003B0 A95D syscall HiliteControl
000003B2 6000 00DC bra +0xDE /* 00000490 */
label000003B6:
000003B6 7E04 moveq.l D7, 0x04
label000003B8:
000003B8 2F2E FFCE move.l -[A7], [A6 - 0x32]
000003BC 3F07 move.w -[A7], D7
000003BE 486E FFEE pea.l [A6 - 0x12]
000003C2 486E FFF0 pea.l [A6 - 0x10]
000003C6 486E FFF4 pea.l [A6 - 0xC]
000003CA A98D syscall GetDialogItem/GetDItem
000003CC 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000003D0 7000 moveq.l D0, 0x00
000003D2 1034 7000 move.b D0, [A4 + D7.w]
000003D6 3F00 move.w -[A7], D0
000003D8 A963 syscall SetControlValue/SetCtlValue
000003DA 2007 move.l D0, D7
000003DC 5287 addq.l D7, 1
000003DE 700C moveq.l D0, 0x0C
000003E0 B087 cmp.l D0, D7
000003E2 6CD4 bge -0x2A /* 000003B8 */
000003E4 7000 moveq.l D0, 0x00
000003E6 2F00 move.l -[A7], D0
000003E8 486E FFCC pea.l [A6 - 0x34]
000003EC A991 syscall ModalDialog
000003EE 302E FFCC move.w D0, [A6 - 0x34]
000003F2 5340 subq.w D0, 1
000003F4 6B00 009A bmi +0x9C /* 00000490 */
000003F8 0C40 000D cmpi.w D0, 0xD /* '\r' */
000003FC 6E00 0092 bgt +0x94 /* 00000490 */
00000400 D040 add.w D0, D0
00000402 303B 0006 move.w D0, [PC + D0.w + 0x6]
00000406 4EFB 0000 jmp [PC + D0.w]
0000040A 001E 003A ori.b [A6]+, 0x3A /* ':' */
0000040E 0088 004C 004C ori.l A0, 0x4C004C /* 'L\0L' */
00000414 004C 004C ori.w A4, 0x4C /* 'L' */
00000418 0062 0062 ori.w -[A2], 0x62 /* 'b' */
0000041C 0062 0076 ori.w -[A2], 0x76 /* 'v' */
00000420 0076 0088 0040 ori.w [A6 + D0.w + 0x40], 0x88
00000426 7A01 moveq.l D5, 0x01
00000428 7E04 moveq.l D7, 0x04
0000042A 760C moveq.l D3, 0x0C
label0000042C:
0000042C 1033 7000 move.b D0, [A3 + D7.w]
00000430 B034 7000 cmp.b D0, [A4 + D7.w]
00000434 6702 beq +0x4 /* 00000438 */
00000436 7C01 moveq.l D6, 0x01
label00000438:
00000438 2007 move.l D0, D7
0000043A 5287 addq.l D7, 1
0000043C B687 cmp.l D3, D7
0000043E 6CEC bge -0x12 /* 0000042C */
00000440 604E bra +0x50 /* 00000490 */
00000442 7808 moveq.l D4, 0x08
00000444 7A01 moveq.l D5, 0x01
00000446 6048 bra +0x4A /* 00000490 */
00000448 4878 49D2 push.l 0x49D2
0000044C 4EBA 0246 jsr [PC + 0x246 /* 00000694 */]
00000450 584F addq.w A7, 4
00000452 603C bra +0x3E /* 00000490 */
00000454 302E FFCC move.w D0, [A6 - 0x34]
00000458 4A34 0000 tst.b [A4 + D0.w]
0000045C 57C3 seq D3
0000045E 4403 neg.b D3
00000460 302E FFCC move.w D0, [A6 - 0x34]
00000464 1983 0000 move.b [A4 + D0.w], D3
00000468 6026 bra +0x28 /* 00000490 */
0000046A 422C 000A clr.b [A4 + 0xA]
0000046E 426C 0008 clr.w [A4 + 0x8]
00000472 302E FFCC move.w D0, [A6 - 0x34]
00000476 19BC 0001 0000 move.b [A4 + D0.w], 0x1
0000047C 6012 bra +0x14 /* 00000490 */
0000047E 422C 000B clr.b [A4 + 0xB]
00000482 426C 000C clr.w [A4 + 0xC]
00000486 302E FFCC move.w D0, [A6 - 0x34]
0000048A 19BC 0001 0000 move.b [A4 + D0.w], 0x1
label00000490:
00000490 4A05 tst.b D5
00000492 6700 FF22 beq -0xDC /* 000003B6 */
00000496 2F2E FFCE move.l -[A7], [A6 - 0x32]
0000049A A983 syscall DisposeDialog
0000049C 4A06 tst.b D6
0000049E 6700 0096 beq +0x98 /* 00000536 */
000004A2 206D FD84 movea.l A0, [A5 - 0x27C]
000004A6 2050 movea.l A0, [A0]
000004A8 2D48 FFFC move.l [A6 - 0x4], A0
000004AC 10AC 0007 move.b [A0], [A4 + 0x7]
000004B0 206E FFFC movea.l A0, [A6 - 0x4]
000004B4 116C 0004 0003 move.b [A0 + 0x3], [A4 + 0x4]
000004BA 206E FFFC movea.l A0, [A6 - 0x4]
000004BE 116C 0005 0005 move.b [A0 + 0x5], [A4 + 0x5]
000004C4 206E FFFC movea.l A0, [A6 - 0x4]
000004C8 116C 0006 0002 move.b [A0 + 0x2], [A4 + 0x6]
000004CE 4AAE 0008 tst.l [A6 + 0x8]
000004D2 671A beq +0x1C /* 000004EE */
000004D4 4A2C 000C tst.b [A4 + 0xC]
000004D8 670C beq +0xE /* 000004E6 */
000004DA 206E FFFC movea.l A0, [A6 - 0x4]
000004DE 117C 0001 0004 move.b [A0 + 0x4], 0x1
000004E4 6008 bra +0xA /* 000004EE */
label000004E6:
000004E6 206E FFFC movea.l A0, [A6 - 0x4]
000004EA 4228 0004 clr.b [A0 + 0x4]
label000004EE:
000004EE 4A2C 0008 tst.b [A4 + 0x8]
000004F2 670C beq +0xE /* 00000500 */
000004F4 206E FFFC movea.l A0, [A6 - 0x4]
000004F8 117C 0001 000A move.b [A0 + 0xA], 0x1
000004FE 601C bra +0x1E /* 0000051C */
label00000500:
00000500 4A2C 0009 tst.b [A4 + 0x9]
00000504 670C beq +0xE /* 00000512 */
00000506 206E FFFC movea.l A0, [A6 - 0x4]
0000050A 117C 0002 000A move.b [A0 + 0xA], 0x2
00000510 600A bra +0xC /* 0000051C */
label00000512:
00000512 206E FFFC movea.l A0, [A6 - 0x4]
00000516 117C 0003 000A move.b [A0 + 0xA], 0x3
label0000051C:
0000051C 4A2D FD94 tst.b [A5 - 0x26C]
00000520 6610 bne +0x12 /* 00000532 */
00000522 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000526 700E moveq.l D0, 0x0E
00000528 3F00 move.w -[A7], D0
0000052A 1F2C 0005 move.b -[A7], [A4 + 0x5]
0000052E 4EBA 1D76 jsr [PC + 0x1D76 /* 000022A6 */]
label00000532:
00000532 4EBA FD16 jsr [PC - 0x2EA /* 0000024A */]
label00000536:
00000536 2004 move.l D0, D4
00000538 4CEE 18F8 FFB0 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x50]
0000053E 4E5E unlink A6
00000540 4E75 rts
fn00000542:
00000542 4E56 0000 link A6, 0
00000546 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000054A 266E 000C movea.l A3, [A6 + 0xC]
0000054E 286E 0008 movea.l A4, [A6 + 0x8]
00000552 7A00 moveq.l D5, 0x00
00000554 1A14 move.b D5, [A4]
00000556 4A85 tst.l D5
00000558 4246 clr.w D6
0000055A 4247 clr.w D7
0000055C 6012 bra +0x14 /* 00000570 */
label0000055E:
0000055E 7000 moveq.l D0, 0x00
00000560 101C move.b D0, [A4]+
00000562 3206 move.w D1, D6
00000564 5246 addq.w D6, 1
00000566 48C1 ext.l D1
00000568 9081 sub.l D0, D1
0000056A 16C0 move.b [A3]+, D0
0000056C 3007 move.w D0, D7
0000056E 5247 addq.w D7, 1
label00000570:
00000570 BA47 cmp.w D5, D7
00000572 6CEA bge -0x14 /* 0000055E */
00000574 4CEE 18E0 FFEC movem.l D5,D6,D7,A3,A4, [A6 - 0x14]
0000057A 4E5E unlink A6
0000057C 4E75 rts
export_2:
0000057E 4E56 FEEE link A6, -0x0112
00000582 48E7 0308 movem.l -[A7], D6,D7,A4
00000586 49EE FEF2 lea.l A4, [A6 - 0x10E]
0000058A 486E FEEE pea.l [A6 - 0x112]
0000058E A874 syscall GetPort
00000590 206E FEEE movea.l A0, [A6 - 0x112]
00000594 3C28 0044 move.w D6, [A0 + 0x44]
00000598 3E28 004A move.w D7, [A0 + 0x4A]
0000059C 7001 moveq.l D0, 0x01
0000059E 3F00 move.w -[A7], D0
000005A0 A887 syscall TextFont
000005A2 7009 moveq.l D0, 0x09
000005A4 3F00 move.w -[A7], D0
000005A6 A88A syscall TextSize
000005A8 2F0C move.l -[A7], A4
000005AA 4EBA FB80 jsr [PC - 0x480 /* 0000012C */]
000005AE 2F2E 000A move.l -[A7], [A6 + 0xA]
000005B2 3F2E 0008 move.w -[A7], [A6 + 0x8]
000005B6 486E FFF2 pea.l [A6 - 0xE]
000005BA 486E FFF4 pea.l [A6 - 0xC]
000005BE 486E FFF8 pea.l [A6 - 0x8]
000005C2 A98D syscall GetDialogItem/GetDItem
000005C4 3F2E FFFA move.w -[A7], [A6 - 0x6]
000005C8 3F2E FFFC move.w -[A7], [A6 - 0x4]
000005CC A893 syscall MoveTo
000005CE 2F0C move.l -[A7], A4
000005D0 A884 syscall DrawString
000005D2 3F06 move.w -[A7], D6
000005D4 A887 syscall TextFont
000005D6 3F07 move.w -[A7], D7
000005D8 A88A syscall TextSize
000005DA 4CEE 10C0 FEE2 movem.l D6,D7,A4, [A6 - 0x11E]
000005E0 4E5E unlink A6
000005E2 205F movea.l A0, [A7]+
000005E4 5C4F addq.w A7, 6
000005E6 4ED0 jmp [A0]
fn000005E8:
000005E8 4E56 FEEA link A6, -0x0116
000005EC 48E7 0018 movem.l -[A7], A3,A4
000005F0 47EE FEF2 lea.l A3, [A6 - 0x10E]
000005F4 307C 001E movea.w A0, 0x1E
000005F8 43EE FEEA lea.l A1, [A6 - 0x116]
000005FC A03B syscall Delay
000005FE 2280 move.l [A1], D0
00000600 4878 78DF push.l 0x78DF
00000604 4EBA FA94 jsr [PC - 0x56C /* 0000009A */]
00000608 2840 movea.l A4, D0
0000060A 598F subq.l A7, 4
0000060C 2F3C 4F56 5744 move.l -[A7], 0x4F565744 /* 'OVWD' */
00000612 3F3C 00C8 move.w -[A7], 0xC8
00000616 A9A0 syscall GetResource
00000618 2D5F FEEE move.l [A6 - 0x112], [A7]+
0000061C 2F0B move.l -[A7], A3
0000061E 206E FEEE movea.l A0, [A6 - 0x112]
00000622 2010 move.l D0, [A0]
00000624 7228 moveq.l D1, 0x28
00000626 D081 add.l D0, D1
00000628 2F00 move.l -[A7], D0
0000062A 4EBA FF16 jsr [PC - 0xEA /* 00000542 */]
0000062E 2F0C move.l -[A7], A4
00000630 7002 moveq.l D0, 0x02
00000632 3F00 move.w -[A7], D0
00000634 486E FFF2 pea.l [A6 - 0xE]
00000638 486E FFF4 pea.l [A6 - 0xC]
0000063C 486E FFF8 pea.l [A6 - 0x8]
00000640 A98D syscall GetDialogItem/GetDItem
00000642 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000646 2F0B move.l -[A7], A3
00000648 A98F syscall SetDialogItemText/SetIText
0000064A 2F0C move.l -[A7], A4
0000064C 7003 moveq.l D0, 0x03
0000064E 3F00 move.w -[A7], D0
00000650 486E FFF2 pea.l [A6 - 0xE]
00000654 486E FFF4 pea.l [A6 - 0xC]
00000658 486E FFF8 pea.l [A6 - 0x8]
0000065C A98D syscall GetDialogItem/GetDItem
0000065E 2F0C move.l -[A7], A4
00000660 7003 moveq.l D0, 0x03
00000662 3F00 move.w -[A7], D0
00000664 7200 moveq.l D1, 0x00
00000666 3F01 move.w -[A7], D1
00000668 486D 0032 pea.l [A5 + 0x32 /* export_2 */]
0000066C 486E FFF8 pea.l [A6 - 0x8]
00000670 A98E syscall SetDialogItem/SetDItem
00000672 2F0C move.l -[A7], A4
00000674 A915 syscall ShowWindow
00000676 2F0C move.l -[A7], A4
00000678 A981 syscall DrawDialog
0000067A 307C 00B4 movea.w A0, 0xB4
0000067E 43EE FEEA lea.l A1, [A6 - 0x116]
00000682 A03B syscall Delay
00000684 2280 move.l [A1], D0
00000686 2F0C move.l -[A7], A4
00000688 A983 syscall DisposeDialog
0000068A 4CEE 1800 FEE2 movem.l A3,A4, [A6 - 0x11E]
00000690 4E5E unlink A6
00000692 4E75 rts
fn00000694:
00000694 4E56 FFFE link A6, -0x0002
00000698 48E7 0308 movem.l -[A7], D6,D7,A4
0000069C 2E2E 0008 move.l D7, [A6 + 0x8]
000006A0 7C01 moveq.l D6, 0x01
label000006A2:
000006A2 2F07 move.l -[A7], D7
000006A4 4EBA F9F4 jsr [PC - 0x60C /* 0000009A */]
000006A8 2840 movea.l A4, D0
000006AA 7000 moveq.l D0, 0x00
000006AC 2F00 move.l -[A7], D0
000006AE 486E FFFE pea.l [A6 - 0x2]
000006B2 A991 syscall ModalDialog
000006B4 2F0C move.l -[A7], A4
000006B6 A983 syscall DisposeDialog
000006B8 7003 moveq.l D0, 0x03
000006BA B06E FFFE cmp.w D0, [A6 - 0x2]
000006BE 584F addq.w A7, 4
000006C0 6618 bne +0x1A /* 000006DA */
000006C2 0C87 0000 76C6 cmpi.l D7, 0x76C6
000006C8 6608 bne +0xA /* 000006D2 */
000006CA 2E3C 0000 49D2 move.l D7, 0x49D2
000006D0 60D0 bra -0x2E /* 000006A2 */
label000006D2:
000006D2 2E3C 0000 76C6 move.l D7, 0x76C6
000006D8 60C8 bra -0x36 /* 000006A2 */
label000006DA:
000006DA 2006 move.l D0, D6
000006DC 4CEE 10C0 FFF2 movem.l D6,D7,A4, [A6 - 0xE]
000006E2 4E5E unlink A6
000006E4 4E75 rts
fn000006E6:
000006E6 4E56 FF00 link A6, -0x0100
000006EA 48E7 0708 movem.l -[A7], D5,D6,D7,A4
000006EE 49EE FF00 lea.l A4, [A6 - 0x100]
000006F2 2E2E 000C move.l D7, [A6 + 0xC]
000006F6 7A01 moveq.l D5, 0x01
000006F8 4214 clr.b [A4]
000006FA 708C moveq.l D0, 0xFFFFFF8C
000006FC B087 cmp.l D0, D7
000006FE 6E10 bgt +0x12 /* 00000710 */
00000700 7094 moveq.l D0, 0xFFFFFF94
00000702 B087 cmp.l D0, D7
00000704 6D0A blt +0xC /* 00000710 */
00000706 2C3C 0000 3EC1 move.l D6, 0x3EC1
0000070C 6000 00B2 bra +0xB4 /* 000007C0 */
label00000710:
00000710 7012 moveq.l D0, 0x12
00000712 B087 cmp.l D0, D7
00000714 660A bne +0xC /* 00000720 */
00000716 2C3C 0000 6ABE move.l D6, 0x6ABE
0000071C 6000 00A2 bra +0xA4 /* 000007C0 */
label00000720:
00000720 700A moveq.l D0, 0x0A
00000722 B087 cmp.l D0, D7
00000724 660A bne +0xC /* 00000730 */
00000726 2C3C 0000 3EC2 move.l D6, 0x3EC2
0000072C 6000 0092 bra +0x94 /* 000007C0 */
label00000730:
00000730 70DD moveq.l D0, 0xFFFFFFDD
00000732 B087 cmp.l D0, D7
00000734 670C beq +0xE /* 00000742 */
00000736 70D5 moveq.l D0, 0xFFFFFFD5
00000738 B087 cmp.l D0, D7
0000073A 6706 beq +0x8 /* 00000742 */
0000073C 7088 moveq.l D0, 0xFFFFFF88
0000073E B087 cmp.l D0, D7
00000740 6608 bne +0xA /* 0000074A */
label00000742:
00000742 2C3C 0000 61FD move.l D6, 0x61FD
00000748 6076 bra +0x78 /* 000007C0 */
label0000074A:
0000074A 700B moveq.l D0, 0x0B
0000074C B087 cmp.l D0, D7
0000074E 6608 bne +0xA /* 00000758 */
00000750 2C3C 0000 6FD6 move.l D6, 0x6FD6
00000756 6068 bra +0x6A /* 000007C0 */
label00000758:
00000758 70DE moveq.l D0, 0xFFFFFFDE
0000075A B087 cmp.l D0, D7
0000075C 6628 bne +0x2A /* 00000786 */
0000075E 2F0C move.l -[A7], A4
00000760 3F3C 1165 move.w -[A7], 0x1165
00000764 7003 moveq.l D0, 0x03
00000766 3F00 move.w -[A7], D0
00000768 4EBA 25B4 jsr [PC + 0x25B4 /* 00002D1E */]
0000076C 2C3C 0000 56F0 move.l D6, 0x56F0
00000772 2F0C move.l -[A7], A4
00000774 486D FC5E pea.l [A5 - 0x3A2]
00000778 486D FC60 pea.l [A5 - 0x3A0]
0000077C 486D FC62 pea.l [A5 - 0x39E]
00000780 A98B syscall ParamText
00000782 4205 clr.b D5
00000784 603A bra +0x3C /* 000007C0 */
label00000786:
00000786 0C87 0000 56F0 cmpi.l D7, 0x56F0
0000078C 6616 bne +0x18 /* 000007A4 */
0000078E 302D FC7A move.w D0, [A5 - 0x386]
00000792 48C0 ext.l D0
00000794 2F00 move.l -[A7], D0
00000796 2F0C move.l -[A7], A4
00000798 4EBA 27D8 jsr [PC + 0x27D8 /* 00002F72 */]
0000079C 2C3C 0000 56F0 move.l D6, 0x56F0
000007A2 601C bra +0x1E /* 000007C0 */
label000007A4:
000007A4 558F subq.l A7, 2
000007A6 2F2D FC70 move.l -[A7], [A5 - 0x390]
000007AA 4EBA 1ABA jsr [PC + 0x1ABA /* 00002266 */]
000007AE 301F move.w D0, [A7]+
000007B0 48C0 ext.l D0
000007B2 2F00 move.l -[A7], D0
000007B4 2F0C move.l -[A7], A4
000007B6 4EBA 27BA jsr [PC + 0x27BA /* 00002F72 */]
000007BA 2C3C 0000 56F0 move.l D6, 0x56F0
label000007C0:
000007C0 4A05 tst.b D5
000007C2 6710 beq +0x12 /* 000007D4 */
000007C4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007C8 2F0C move.l -[A7], A4
000007CA 486D FC64 pea.l [A5 - 0x39C]
000007CE 486D FC66 pea.l [A5 - 0x39A]
000007D2 A98B syscall ParamText
label000007D4:
000007D4 7000 moveq.l D0, 0x00
000007D6 2F00 move.l -[A7], D0
000007D8 2F06 move.l -[A7], D6
000007DA 4EBA F8FE jsr [PC - 0x702 /* 000000DA */]
000007DE 3A00 move.w D5, D0
000007E0 0C45 0003 cmpi.w D5, 0x3
000007E4 504F addq.w A7, 8
000007E6 6606 bne +0x8 /* 000007EE */
000007E8 1B7C 0001 FD90 move.b [A5 - 0x270], 0x1
label000007EE:
000007EE 4CEE 10E0 FEF0 movem.l D5,D6,D7,A4, [A6 - 0x110]
000007F4 4E5E unlink A6
000007F6 4E75 rts
export_3:
000007F8 4E56 FFFC link A6, -0x0004
000007FC 2F07 move.l -[A7], D7
000007FE 486D 008A pea.l [A5 + 0x8A /* export_13 */]
00000802 A9F1 syscall UnloadSeg
00000804 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000808 558F subq.l A7, 2
0000080A 2F2D FC70 move.l -[A7], [A5 - 0x390]
0000080E 4EBA 1B18 jsr [PC + 0x1B18 /* 00002328 */]
00000812 4A1F tst.b [A7]+
00000814 6610 bne +0x12 /* 00000826 */
00000816 206D FD84 movea.l A0, [A5 - 0x27C]
0000081A 2050 movea.l A0, [A0]
0000081C 4A68 0006 tst.w [A0 + 0x6]
00000820 6604 bne +0x6 /* 00000826 */
00000822 4EBA 070A jsr [PC + 0x70A /* 00000F2E */]
label00000826:
00000826 4EBA 06BE jsr [PC + 0x6BE /* 00000EE6 */]
0000082A 2E00 move.l D7, D0
0000082C 6016 bra +0x18 /* 00000844 */
label0000082E:
0000082E 486E FFFC pea.l [A6 - 0x4]
00000832 A874 syscall GetPort
00000834 2F07 move.l -[A7], D7
00000836 4EBA 002C jsr [PC + 0x2C /* 00000864 */]
0000083A 2E00 move.l D7, D0
0000083C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000840 A873 syscall SetPort
00000842 584F addq.w A7, 4
label00000844:
00000844 7007 moveq.l D0, 0x07
00000846 B087 cmp.l D0, D7
00000848 66E4 bne -0x1A /* 0000082E */
0000084A 4EBA 0676 jsr [PC + 0x676 /* 00000EC2 */]
0000084E 4AAD FD88 tst.l [A5 - 0x278]
00000852 6706 beq +0x8 /* 0000085A */
00000854 2F2D FD88 move.l -[A7], [A5 - 0x278]
00000858 A9AD syscall RemoveResource/RmveResource
label0000085A:
0000085A A9F4 syscall ExitToShell
0000085C 2E2E FFF8 move.l D7, [A6 - 0x8]
00000860 4E5E unlink A6
00000862 4E75 rts
fn00000864:
00000864 4E56 FFFE link A6, -0x0002
00000868 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
0000086C 2A2E 0008 move.l D5, [A6 + 0x8]
00000870 49ED FC80 lea.l A4, [A5 - 0x380]
00000874 7E04 moveq.l D7, 0x04
00000876 4206 clr.b D6
00000878 2005 move.l D0, D5
0000087A 6B00 026E bmi +0x270 /* 00000AEA */
0000087E 0C80 0000 0009 cmpi.l D0, 0x9 /* '\t' */
00000884 6E00 0264 bgt +0x266 /* 00000AEA */
00000888 D080 add.l D0, D0
0000088A 303B 0806 move.w D0, [PC + D0 + 0x6]
0000088E 4EFB 0000 jmp [PC + D0.w]
00000892 0016 01B0 ori.b [A6], 0xB0
00000896 01BA 01E8 bclr [PC + 0x1E8 /* 00000A80, value 0x2E007001 */], D0
0000089A 0200 0224 andi.b D0, 0x24 /* '$' */
0000089E 024E 025A andi.w A6, 0x25A
000008A2 01B0 0224 bclr [A0 + D0.w * 2 + 0x24], D0
000008A6 4A2D FD90 tst.b [A5 - 0x270]
000008AA 6600 023E bne +0x240 /* 00000AEA */
000008AE 302D FD80 move.w D0, [A5 - 0x280]
000008B2 B06D FD82 cmp.w D0, [A5 - 0x27E]
000008B6 6700 013A beq +0x13C /* 000009F2 */
000008BA 426E FFFE clr.w [A6 - 0x2]
000008BE 206D FD84 movea.l A0, [A5 - 0x27C]
000008C2 2050 movea.l A0, [A0]
000008C4 4A28 0004 tst.b [A0 + 0x4]
000008C8 662A bne +0x2C /* 000008F4 */
000008CA 302D FD82 move.w D0, [A5 - 0x27E]
000008CE 48C0 ext.l D0
000008D0 5380 subq.l D0, 1
000008D2 2200 move.l D1, D0
000008D4 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
000008D6 03E8 4841 bset [A0 + 0x4841], D1
000008DA C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
000008DC 03E8 4841 bset [A0 + 0x4841], D1
000008E0 4241 clr.w D1
000008E2 D081 add.l D0, D1
000008E4 3800 move.w D4, D0
000008E6 D87C 0400 add.w D4, 0x400
000008EA 4214 clr.b [A4]
000008EC 1B7C 0001 FD8E move.b [A5 - 0x272], 0x1
000008F2 6020 bra +0x22 /* 00000914 */
label000008F4:
000008F4 2F0C move.l -[A7], A4
000008F6 7000 moveq.l D0, 0x00
000008F8 3F00 move.w -[A7], D0
000008FA 3F2D FD82 move.w -[A7], [A5 - 0x27E]
000008FE 4EBA 241E jsr [PC + 0x241E /* 00002D1E */]
00000902 4244 clr.w D4
00000904 486E FFFE pea.l [A6 - 0x2]
00000908 2F0C move.l -[A7], A4
0000090A 4EBA 1396 jsr [PC + 0x1396 /* 00001CA2 */]
0000090E 1B40 FD8E move.b [A5 - 0x272], D0
00000912 504F addq.w A7, 8
label00000914:
00000914 3B6D FD82 FD80 move.w [A5 - 0x280], [A5 - 0x27E]
0000091A 4EBA 1446 jsr [PC + 0x1446 /* 00001D62 */]
0000091E 4EBA 144E jsr [PC + 0x144E /* 00001D6E */]
00000922 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000926 700A moveq.l D0, 0x0A
00000928 3F00 move.w -[A7], D0
0000092A 7200 moveq.l D1, 0x00
0000092C 2F01 move.l -[A7], D1
0000092E 4EBA 19D2 jsr [PC + 0x19D2 /* 00002302 */]
00000932 4A2D FD8E tst.b [A5 - 0x272]
00000936 6742 beq +0x44 /* 0000097A */
00000938 4A14 tst.b [A4]
0000093A 671A beq +0x1C /* 00000956 */
0000093C 558F subq.l A7, 2
0000093E 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000942 2F0C move.l -[A7], A4
00000944 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000948 4EBA 0272 jsr [PC + 0x272 /* 00000BBC */]
0000094C 2F00 move.l -[A7], D0
0000094E 4EBA 168C jsr [PC + 0x168C /* 00001FDC */]
00000952 544F addq.w A7, 2
00000954 6014 bra +0x16 /* 0000096A */
label00000956:
00000956 558F subq.l A7, 2
00000958 2F2D FC70 move.l -[A7], [A5 - 0x390]
0000095C 3F04 move.w -[A7], D4
0000095E 4EBA 025C jsr [PC + 0x25C /* 00000BBC */]
00000962 2F00 move.l -[A7], D0
00000964 4EBA 16D4 jsr [PC + 0x16D4 /* 0000203A */]
00000968 544F addq.w A7, 2
label0000096A:
0000096A 558F subq.l A7, 2
0000096C 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000970 4EBA 18F4 jsr [PC + 0x18F4 /* 00002266 */]
00000974 3B5F FC7C move.w [A5 - 0x384], [A7]+
00000978 6034 bra +0x36 /* 000009AE */
label0000097A:
0000097A 558F subq.l A7, 2
0000097C 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000980 2F0C move.l -[A7], A4
00000982 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000986 4EBA 026A jsr [PC + 0x26A /* 00000BF2 */]
0000098A 2F00 move.l -[A7], D0
0000098C 4EBA 164E jsr [PC + 0x164E /* 00001FDC */]
00000990 558F subq.l A7, 2
00000992 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000996 4EBA 18CE jsr [PC + 0x18CE /* 00002266 */]
0000099A 3B5F FC7C move.w [A5 - 0x384], [A7]+
0000099E 544F addq.w A7, 2
000009A0 660C bne +0xE /* 000009AE */
000009A2 2F2D FC70 move.l -[A7], [A5 - 0x390]
000009A6 7000 moveq.l D0, 0x00
000009A8 2F00 move.l -[A7], D0
000009AA 4EBA 1724 jsr [PC + 0x1724 /* 000020D0 */]
label000009AE:
000009AE 4A6D FC7C tst.w [A5 - 0x384]
000009B2 57C0 seq D0
000009B4 0240 0001 andi.w D0, 0x1
000009B8 48C0 ext.l D0
000009BA 1C00 move.b D6, D0
000009BC 4A6D FC7C tst.w [A5 - 0x384]
000009C0 6744 beq +0x46 /* 00000A06 */
000009C2 206D FD84 movea.l A0, [A5 - 0x27C]
000009C6 2050 movea.l A0, [A0]
000009C8 4A28 0004 tst.b [A0 + 0x4]
000009CC 660E bne +0x10 /* 000009DC */
000009CE 2F0C move.l -[A7], A4
000009D0 7000 moveq.l D0, 0x00
000009D2 3F00 move.w -[A7], D0
000009D4 3F2D FD82 move.w -[A7], [A5 - 0x27E]
000009D8 4EBA 2344 jsr [PC + 0x2344 /* 00002D1E */]
label000009DC:
000009DC 302D FC7C move.w D0, [A5 - 0x384]
000009E0 48C0 ext.l D0
000009E2 2F00 move.l -[A7], D0
000009E4 2F0C move.l -[A7], A4
000009E6 4EBA FCFE jsr [PC - 0x302 /* 000006E6 */]
000009EA 426D FD80 clr.w [A5 - 0x280]
000009EE 504F addq.w A7, 8
000009F0 6014 bra +0x16 /* 00000A06 */
label000009F2:
000009F2 7C01 moveq.l D6, 0x01
000009F4 4A2D FD8E tst.b [A5 - 0x272]
000009F8 660C bne +0xE /* 00000A06 */
000009FA 2F2D FC70 move.l -[A7], [A5 - 0x390]
000009FE 7000 moveq.l D0, 0x00
00000A00 2F00 move.l -[A7], D0
00000A02 4EBA 16CC jsr [PC + 0x16CC /* 000020D0 */]
label00000A06:
00000A06 526D FD82 addq.w [A5 - 0x27E], 1
00000A0A 206D FD84 movea.l A0, [A5 - 0x27C]
00000A0E 2050 movea.l A0, [A0]
00000A10 302D FD82 move.w D0, [A5 - 0x27E]
00000A14 B068 0006 cmp.w D0, [A0 + 0x6]
00000A18 6E04 bgt +0x6 /* 00000A1E */
00000A1A 7E00 moveq.l D7, 0x00
00000A1C 601A bra +0x1C /* 00000A38 */
label00000A1E:
00000A1E 4A2D FD92 tst.b [A5 - 0x26E]
00000A22 6714 beq +0x16 /* 00000A38 */
00000A24 4A2D FD9A tst.b [A5 - 0x266]
00000A28 6606 bne +0x8 /* 00000A30 */
00000A2A 4A2D FD8C tst.b [A5 - 0x274]
00000A2E 6708 beq +0xA /* 00000A38 */
label00000A30:
00000A30 3B7C 0001 FD82 move.w [A5 - 0x27E], 0x1
00000A36 7E00 moveq.l D7, 0x00
label00000A38:
00000A38 422D FD8C clr.b [A5 - 0x274]
00000A3C 6000 00AC bra +0xAE /* 00000AEA */
00000A40 4EBA F73C jsr [PC - 0x8C4 /* 0000017E */]
00000A44 2E00 move.l D7, D0
00000A46 6000 00A2 bra +0xA4 /* 00000AEA */
00000A4A 4A2D FC6E tst.b [A5 - 0x392]
00000A4E 6610 bne +0x12 /* 00000A60 */
00000A50 1B7C 0001 FC6C move.b [A5 - 0x394], 0x1
00000A56 7000 moveq.l D0, 0x00
00000A58 2F00 move.l -[A7], D0
00000A5A 4EBA 01EE jsr [PC + 0x1EE /* 00000C4A */]
00000A5E 584F addq.w A7, 4
label00000A60:
00000A60 4EBA 0EF6 jsr [PC + 0xEF6 /* 00001958 */]
00000A64 4A00 tst.b D0
00000A66 670C beq +0xE /* 00000A74 */
00000A68 4A6D FC7C tst.w [A5 - 0x384]
00000A6C 6602 bne +0x4 /* 00000A70 */
00000A6E 7C01 moveq.l D6, 0x01
label00000A70:
00000A70 7E02 moveq.l D7, 0x02
00000A72 6076 bra +0x78 /* 00000AEA */
label00000A74:
00000A74 7E01 moveq.l D7, 0x01
00000A76 6072 bra +0x74 /* 00000AEA */
00000A78 7001 moveq.l D0, 0x01
00000A7A 2F00 move.l -[A7], D0
00000A7C 4EBA F832 jsr [PC - 0x7CE /* 000002B0 */]
00000A80 2E00 move.l D7, D0
00000A82 7001 moveq.l D0, 0x01
00000A84 B087 cmp.l D0, D7
00000A86 584F addq.w A7, 4
00000A88 6660 bne +0x62 /* 00000AEA */
00000A8A 4EBA 05B6 jsr [PC + 0x5B6 /* 00001042 */]
00000A8E 605A bra +0x5C /* 00000AEA */
00000A90 4EBA 12D0 jsr [PC + 0x12D0 /* 00001D62 */]
00000A94 206D FD84 movea.l A0, [A5 - 0x27C]
00000A98 2050 movea.l A0, [A0]
00000A9A 4A68 0006 tst.w [A0 + 0x6]
00000A9E 6F10 ble +0x12 /* 00000AB0 */
00000AA0 206D FD84 movea.l A0, [A5 - 0x27C]
00000AA4 2050 movea.l A0, [A0]
00000AA6 4A28 0008 tst.b [A0 + 0x8]
00000AAA 6604 bne +0x6 /* 00000AB0 */
00000AAC 4EBA FB3A jsr [PC - 0x4C6 /* 000005E8 */]
label00000AB0:
00000AB0 7E07 moveq.l D7, 0x07
00000AB2 6036 bra +0x38 /* 00000AEA */
00000AB4 7009 moveq.l D0, 0x09
00000AB6 B085 cmp.l D0, D5
00000AB8 56C0 sne D0
00000ABA 4400 neg.b D0
00000ABC 4880 ext.w D0
00000ABE 48C0 ext.l D0
00000AC0 2F00 move.l -[A7], D0
00000AC2 4EBA F7EC jsr [PC - 0x814 /* 000002B0 */]
00000AC6 2E00 move.l D7, D0
00000AC8 7009 moveq.l D0, 0x09
00000ACA B085 cmp.l D0, D5
00000ACC 584F addq.w A7, 4
00000ACE 661A bne +0x1C /* 00000AEA */
00000AD0 206D FD84 movea.l A0, [A5 - 0x27C]
00000AD4 2050 movea.l A0, [A0]
00000AD6 1B50 FD92 move.b [A5 - 0x26E], [A0]
00000ADA 7E00 moveq.l D7, 0x00
00000ADC 600C bra +0xE /* 00000AEA */
00000ADE 4878 76C6 push.l 0x76C6
00000AE2 4EBA FBB0 jsr [PC - 0x450 /* 00000694 */]
00000AE6 2E00 move.l D7, D0
00000AE8 584F addq.w A7, 4
label00000AEA:
00000AEA 4A06 tst.b D6
00000AEC 6700 00C2 beq +0xC4 /* 00000BB0 */
00000AF0 4206 clr.b D6
00000AF2 4A2D FD92 tst.b [A5 - 0x26E]
00000AF6 6718 beq +0x1A /* 00000B10 */
00000AF8 4A87 tst.l D7
00000AFA 6704 beq +0x6 /* 00000B00 */
00000AFC 7C01 moveq.l D6, 0x01
00000AFE 6010 bra +0x12 /* 00000B10 */
label00000B00:
00000B00 206D FD84 movea.l A0, [A5 - 0x27C]
00000B04 2050 movea.l A0, [A0]
00000B06 7001 moveq.l D0, 0x01
00000B08 B068 0006 cmp.w D0, [A0 + 0x6]
00000B0C 6602 bne +0x4 /* 00000B10 */
00000B0E 7C01 moveq.l D6, 0x01
label00000B10:
00000B10 A856 syscall ObscureCursor
00000B12 4A2D FD8E tst.b [A5 - 0x272]
00000B16 6722 beq +0x24 /* 00000B3A */
00000B18 A856 syscall ObscureCursor
00000B1A 4A06 tst.b D6
00000B1C 670C beq +0xE /* 00000B2A */
00000B1E 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B22 7001 moveq.l D0, 0x01
00000B24 1F00 move.b -[A7], D0
00000B26 4EBA 160A jsr [PC + 0x160A /* 00002132 */]
label00000B2A:
00000B2A 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B2E 2F3C 1000 0000 move.l -[A7], 0x10000000
00000B34 4EBA 159A jsr [PC + 0x159A /* 000020D0 */]
00000B38 6010 bra +0x12 /* 00000B4A */
label00000B3A:
00000B3A 4A06 tst.b D6
00000B3C 670C beq +0xE /* 00000B4A */
00000B3E 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B42 7001 moveq.l D0, 0x01
00000B44 1F00 move.b -[A7], D0
00000B46 4EBA 15EA jsr [PC + 0x15EA /* 00002132 */]
label00000B4A:
00000B4A 1B7C 0001 FD9A move.b [A5 - 0x266], 0x1
00000B50 426D FC7C clr.w [A5 - 0x384]
00000B54 7000 moveq.l D0, 0x00
00000B56 1006 move.b D0, D6
00000B58 2F00 move.l -[A7], D0
00000B5A 4EBA 00EE jsr [PC + 0xEE /* 00000C4A */]
00000B5E 4A2D FD8E tst.b [A5 - 0x272]
00000B62 584F addq.w A7, 4
00000B64 6722 beq +0x24 /* 00000B88 */
00000B66 4A06 tst.b D6
00000B68 670C beq +0xE /* 00000B76 */
00000B6A 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B6E 7000 moveq.l D0, 0x00
00000B70 1F00 move.b -[A7], D0
00000B72 4EBA 15BE jsr [PC + 0x15BE /* 00002132 */]
label00000B76:
00000B76 4A87 tst.l D7
00000B78 671E beq +0x20 /* 00000B98 */
00000B7A 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B7E 7000 moveq.l D0, 0x00
00000B80 2F00 move.l -[A7], D0
00000B82 4EBA 156C jsr [PC + 0x156C /* 000020F0 */]
00000B86 6010 bra +0x12 /* 00000B98 */
label00000B88:
00000B88 4A06 tst.b D6
00000B8A 670C beq +0xE /* 00000B98 */
00000B8C 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B90 7000 moveq.l D0, 0x00
00000B92 1F00 move.b -[A7], D0
00000B94 4EBA 159C jsr [PC + 0x159C /* 00002132 */]
label00000B98:
00000B98 4A6D FC7C tst.w [A5 - 0x384]
00000B9C 6712 beq +0x14 /* 00000BB0 */
00000B9E 302D FC7C move.w D0, [A5 - 0x384]
00000BA2 48C0 ext.l D0
00000BA4 2F00 move.l -[A7], D0
00000BA6 486D FC68 pea.l [A5 - 0x398]
00000BAA 4EBA FB3A jsr [PC - 0x4C6 /* 000006E6 */]
00000BAE 504F addq.w A7, 8
label00000BB0:
00000BB0 2007 move.l D0, D7
00000BB2 4CEE 10F0 FFEA movem.l D4,D5,D6,D7,A4, [A6 - 0x16]
00000BB8 4E5E unlink A6
00000BBA 4E75 rts
fn00000BBC:
00000BBC 4E56 0000 link A6, 0
00000BC0 2F07 move.l -[A7], D7
00000BC2 7E04 moveq.l D7, 0x04
00000BC4 206D FD84 movea.l A0, [A5 - 0x27C]
00000BC8 2050 movea.l A0, [A0]
00000BCA 4A28 0003 tst.b [A0 + 0x3]
00000BCE 6706 beq +0x8 /* 00000BD6 */
00000BD0 0687 0000 4000 addi.l D7, 0x4000 /* '@\0' */
label00000BD6:
00000BD6 206D FD84 movea.l A0, [A5 - 0x27C]
00000BDA 2050 movea.l A0, [A0]
00000BDC 4A28 0002 tst.b [A0 + 0x2]
00000BE0 6706 beq +0x8 /* 00000BE8 */
00000BE2 0687 0001 0001 addi.l D7, 0x10001
label00000BE8:
00000BE8 2007 move.l D0, D7
00000BEA 2E2E FFFC move.l D7, [A6 - 0x4]
00000BEE 4E5E unlink A6
00000BF0 4E75 rts
fn00000BF2:
00000BF2 4E56 0000 link A6, 0
00000BF6 2F07 move.l -[A7], D7
00000BF8 7E00 moveq.l D7, 0x00
00000BFA 206D FD84 movea.l A0, [A5 - 0x27C]
00000BFE 2050 movea.l A0, [A0]
00000C00 1028 000A move.b D0, [A0 + 0xA]
00000C04 5300 subq.b D0, 1
00000C06 6706 beq +0x8 /* 00000C0E */
00000C08 5300 subq.b D0, 1
00000C0A 670A beq +0xC /* 00000C16 */
00000C0C 600E bra +0x10 /* 00000C1C */
label00000C0E:
00000C0E 2E3C 0000 2000 move.l D7, 0x2000 /* ' \0' */
00000C14 6006 bra +0x8 /* 00000C1C */
label00000C16:
00000C16 2E3C 0000 1000 move.l D7, 0x1000
label00000C1C:
00000C1C 206D FD84 movea.l A0, [A5 - 0x27C]
00000C20 2050 movea.l A0, [A0]
00000C22 4A28 0003 tst.b [A0 + 0x3]
00000C26 6706 beq +0x8 /* 00000C2E */
00000C28 0687 0000 4000 addi.l D7, 0x4000 /* '@\0' */
label00000C2E:
00000C2E 206D FD84 movea.l A0, [A5 - 0x27C]
00000C32 2050 movea.l A0, [A0]
00000C34 4A28 0002 tst.b [A0 + 0x2]
00000C38 6706 beq +0x8 /* 00000C40 */
00000C3A 0687 0001 0001 addi.l D7, 0x10001
label00000C40:
00000C40 2007 move.l D0, D7
00000C42 2E2E FFFC move.l D7, [A6 - 0x4]
00000C46 4E5E unlink A6
00000C48 4E75 rts
fn00000C4A:
00000C4A 4E56 FFF0 link A6, -0x0010
00000C4E 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
00000C52 4206 clr.b D6
00000C54 558F subq.l A7, 2
00000C56 7040 moveq.l D0, 0x40
00000C58 3F00 move.w -[A7], D0
00000C5A 486E FFF0 pea.l [A6 - 0x10]
00000C5E A970 syscall GetNextEvent
00000C60 4A1F tst.b [A7]+
00000C62 670E beq +0x10 /* 00000C72 */
00000C64 7000 moveq.l D0, 0x00
00000C66 2F00 move.l -[A7], D0
00000C68 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000C6C 4EBA 0200 jsr [PC + 0x200 /* 00000E6E */]
00000C70 504F addq.w A7, 8
label00000C72:
00000C72 558F subq.l A7, 2
00000C74 70FF moveq.l D0, 0xFFFFFFFF
00000C76 3F00 move.w -[A7], D0
00000C78 486E FFF0 pea.l [A6 - 0x10]
00000C7C 4A2D FC6E tst.b [A5 - 0x392]
00000C80 6704 beq +0x6 /* 00000C86 */
00000C82 7200 moveq.l D1, 0x00
00000C84 6002 bra +0x4 /* 00000C88 */
label00000C86:
00000C86 720A moveq.l D1, 0x0A
label00000C88:
00000C88 4881 ext.w D1
00000C8A 48C1 ext.l D1
00000C8C 2F01 move.l -[A7], D1
00000C8E 7000 moveq.l D0, 0x00
00000C90 2F00 move.l -[A7], D0
00000C92 A860 syscall WaitNextEvent
00000C94 181F move.b D4, [A7]+
00000C96 558F subq.l A7, 2
00000C98 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000C9C 4EBA 15C8 jsr [PC + 0x15C8 /* 00002266 */]
00000CA0 4A5F tst.w [A7]+
00000CA2 670C beq +0xE /* 00000CB0 */
00000CA4 3B7C FF94 FC7C move.w [A5 - 0x384], 0xFF94
00000CAA 7C01 moveq.l D6, 0x01
00000CAC 6000 00E4 bra +0xE6 /* 00000D92 */
label00000CB0:
00000CB0 4A04 tst.b D4
00000CB2 6700 00DE beq +0xE0 /* 00000D92 */
00000CB6 7006 moveq.l D0, 0x06
00000CB8 B06E FFF0 cmp.w D0, [A6 - 0x10]
00000CBC 6610 bne +0x12 /* 00000CCE */
00000CBE 7001 moveq.l D0, 0x01
00000CC0 2F00 move.l -[A7], D0
00000CC2 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000CC6 4EBA 01A6 jsr [PC + 0x1A6 /* 00000E6E */]
00000CCA 504F addq.w A7, 8
00000CCC 60A4 bra -0x5A /* 00000C72 */
label00000CCE:
00000CCE 700F moveq.l D0, 0x0F
00000CD0 B06E FFF0 cmp.w D0, [A6 - 0x10]
00000CD4 6650 bne +0x52 /* 00000D26 */
00000CD6 203C FF00 0000 move.l D0, 0xFF000000
00000CDC C0AE FFF2 and.l D0, [A6 - 0xE]
00000CE0 0C80 0100 0000 cmpi.l D0, 0x1000000
00000CE6 663E bne +0x40 /* 00000D26 */
00000CE8 202E FFF2 move.l D0, [A6 - 0xE]
00000CEC 0800 0000 btst.b D0, 0x0
00000CF0 6722 beq +0x24 /* 00000D14 */
00000CF2 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000CF6 7001 moveq.l D0, 0x01
00000CF8 1F00 move.b -[A7], D0
00000CFA 4EBA 1546 jsr [PC + 0x1546 /* 00002242 */]
00000CFE 1B7C 0001 FC6E move.b [A5 - 0x392], 0x1
00000D04 7001 moveq.l D0, 0x01
00000D06 2F00 move.l -[A7], D0
00000D08 2F2D FC74 move.l -[A7], [A5 - 0x38C]
00000D0C 4EBA 0160 jsr [PC + 0x160 /* 00000E6E */]
00000D10 504F addq.w A7, 8
00000D12 6012 bra +0x14 /* 00000D26 */
label00000D14:
00000D14 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000D18 7000 moveq.l D0, 0x00
00000D1A 1F00 move.b -[A7], D0
00000D1C 4EBA 1524 jsr [PC + 0x1524 /* 00002242 */]
00000D20 422D FC6E clr.b [A5 - 0x392]
00000D24 A850 syscall InitCursor
label00000D26:
00000D26 7003 moveq.l D0, 0x03
00000D28 B06E FFF0 cmp.w D0, [A6 - 0x10]
00000D2C 6664 bne +0x66 /* 00000D92 */
00000D2E 2E3C 0000 00FF move.l D7, 0xFF
00000D34 CEAE FFF2 and.l D7, [A6 - 0xE]
00000D38 303C 0100 move.w D0, 0x100
00000D3C C06E FFFE and.w D0, [A6 - 0x2]
00000D40 6720 beq +0x22 /* 00000D62 */
00000D42 0C07 002E cmpi.b D7, 0x2E /* '.' */
00000D46 6718 beq +0x1A /* 00000D60 */
00000D48 0C07 0051 cmpi.b D7, 0x51 /* 'Q' */
00000D4C 6712 beq +0x14 /* 00000D60 */
00000D4E 0C07 0071 cmpi.b D7, 0x71 /* 'q' */
00000D52 670C beq +0xE /* 00000D60 */
00000D54 0C07 0057 cmpi.b D7, 0x57 /* 'W' */
00000D58 6706 beq +0x8 /* 00000D60 */
00000D5A 0C07 0077 cmpi.b D7, 0x77 /* 'w' */
00000D5E 6602 bne +0x4 /* 00000D62 */
label00000D60:
00000D60 7C01 moveq.l D6, 0x01
label00000D62:
00000D62 0C07 007E cmpi.b D7, 0x7E /* '~' */
00000D66 6706 beq +0x8 /* 00000D6E */
00000D68 0C07 0060 cmpi.b D7, 0x60 /* '`' */
00000D6C 6624 bne +0x26 /* 00000D92 */
label00000D6E:
00000D6E 206D FD84 movea.l A0, [A5 - 0x27C]
00000D72 2050 movea.l A0, [A0]
00000D74 4A28 0001 tst.b [A0 + 0x1]
00000D78 57C3 seq D3
00000D7A 4403 neg.b D3
00000D7C 1A03 move.b D5, D3
00000D7E 206D FD84 movea.l A0, [A5 - 0x27C]
00000D82 2050 movea.l A0, [A0]
00000D84 1145 0001 move.b [A0 + 0x1], D5
00000D88 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000D8C 1F05 move.b -[A7], D5
00000D8E 4EBA 14F2 jsr [PC + 0x14F2 /* 00002282 */]
label00000D92:
00000D92 4A2D FC6E tst.b [A5 - 0x392]
00000D96 6700 FEDA beq -0x124 /* 00000C72 */
00000D9A 4A2D FC6C tst.b [A5 - 0x394]
00000D9E 6706 beq +0x8 /* 00000DA6 */
00000DA0 7C01 moveq.l D6, 0x01
00000DA2 422D FC6C clr.b [A5 - 0x394]
label00000DA6:
00000DA6 4A06 tst.b D6
00000DA8 672E beq +0x30 /* 00000DD8 */
label00000DAA:
00000DAA 422D FD92 clr.b [A5 - 0x26E]
00000DAE 1B7C 0001 FD90 move.b [A5 - 0x270], 0x1
00000DB4 4A2D FD8E tst.b [A5 - 0x272]
00000DB8 670E beq +0x10 /* 00000DC8 */
00000DBA 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DBE 7000 moveq.l D0, 0x00
00000DC0 2F00 move.l -[A7], D0
00000DC2 4EBA 132C jsr [PC + 0x132C /* 000020F0 */]
00000DC6 6010 bra +0x12 /* 00000DD8 */
label00000DC8:
00000DC8 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DCC 7000 moveq.l D0, 0x00
00000DCE 2F00 move.l -[A7], D0
00000DD0 4EBA 131E jsr [PC + 0x131E /* 000020F0 */]
00000DD4 6000 008E bra +0x90 /* 00000E64 */
label00000DD8:
00000DD8 4A2D FD8E tst.b [A5 - 0x272]
00000DDC 6762 beq +0x64 /* 00000E40 */
00000DDE 558F subq.l A7, 2
00000DE0 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DE4 4EBA 132A jsr [PC + 0x132A /* 00002110 */]
00000DE8 4A1F tst.b [A7]+
00000DEA 6678 bne +0x7A /* 00000E64 */
00000DEC 558F subq.l A7, 2
00000DEE 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DF2 4EBA 1362 jsr [PC + 0x1362 /* 00002156 */]
00000DF6 558F subq.l A7, 2
00000DF8 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DFC 7010 moveq.l D0, 0x10
00000DFE 3F00 move.w -[A7], D0
00000E00 4EBA 14CC jsr [PC + 0x14CC /* 000022CE */]
00000E04 4A1F tst.b [A7]+
00000E06 544F addq.w A7, 2
00000E08 6700 FE68 beq -0x196 /* 00000C72 */
00000E0C 422D FD92 clr.b [A5 - 0x26E]
00000E10 558F subq.l A7, 2
00000E12 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000E16 703D moveq.l D0, 0x3D
00000E18 3F00 move.w -[A7], D0
00000E1A 4EBA 14B2 jsr [PC + 0x14B2 /* 000022CE */]
00000E1E 4A1F tst.b [A7]+
00000E20 6708 beq +0xA /* 00000E2A */
00000E22 422D FC6E clr.b [A5 - 0x392]
00000E26 6000 FE4A bra -0x1B4 /* 00000C72 */
label00000E2A:
00000E2A 558F subq.l A7, 2
00000E2C 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000E30 7011 moveq.l D0, 0x11
00000E32 3F00 move.w -[A7], D0
00000E34 4EBA 1498 jsr [PC + 0x1498 /* 000022CE */]
00000E38 4A1F tst.b [A7]+
00000E3A 6600 FF6E bne -0x90 /* 00000DAA */
00000E3E 6024 bra +0x26 /* 00000E64 */
label00000E40:
00000E40 558F subq.l A7, 2
00000E42 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000E46 4EBA 130E jsr [PC + 0x130E /* 00002156 */]
00000E4A 4A1F tst.b [A7]+
00000E4C 6600 FE24 bne -0x1DA /* 00000C72 */
00000E50 4A2E 000B tst.b [A6 + 0xB]
00000E54 6600 FE1C bne -0x1E2 /* 00000C72 */
00000E58 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000E5C 7000 moveq.l D0, 0x00
00000E5E 2F00 move.l -[A7], D0
00000E60 4EBA 128E jsr [PC + 0x128E /* 000020F0 */]
label00000E64:
00000E64 4CEE 00F8 FFDC movem.l D3,D4,D5,D6,D7, [A6 - 0x24]
00000E6A 4E5E unlink A6
00000E6C 4E75 rts
fn00000E6E:
00000E6E 4E56 FFFC link A6, -0x0004
00000E72 2F0C move.l -[A7], A4
00000E74 286E 0008 movea.l A4, [A6 + 0x8]
00000E78 B9ED FC74 cmpa.l A4, [A5 - 0x38C]
00000E7C 663C bne +0x3E /* 00000EBA */
00000E7E 486E FFFC pea.l [A6 - 0x4]
00000E82 A874 syscall GetPort
00000E84 2F0C move.l -[A7], A4
00000E86 A873 syscall SetPort
00000E88 4A2D FD8E tst.b [A5 - 0x272]
00000E8C 6706 beq +0x8 /* 00000E94 */
00000E8E 486C 0010 pea.l [A4 + 0x10]
00000E92 A928 syscall InvalRect
label00000E94:
00000E94 2F0C move.l -[A7], A4
00000E96 A922 syscall BeginUpdate
00000E98 4A2E 000F tst.b [A6 + 0xF]
00000E9C 6712 beq +0x14 /* 00000EB0 */
00000E9E 4A2D FD8E tst.b [A5 - 0x272]
00000EA2 670C beq +0xE /* 00000EB0 */
00000EA4 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000EA8 486C 0010 pea.l [A4 + 0x10]
00000EAC 4EBA 11C8 jsr [PC + 0x11C8 /* 00002076 */]
label00000EB0:
00000EB0 2F0C move.l -[A7], A4
00000EB2 A923 syscall EndUpdate
00000EB4 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000EB8 A873 syscall SetPort
label00000EBA:
00000EBA 286E FFF8 movea.l A4, [A6 - 0x8]
00000EBE 4E5E unlink A6
00000EC0 4E75 rts
fn00000EC2:
00000EC2 4E56 0000 link A6, 0
00000EC6 4A2D FD94 tst.b [A5 - 0x26C]
00000ECA 6616 bne +0x18 /* 00000EE2 */
00000ECC 206D FC74 movea.l A0, [A5 - 0x38C]
00000ED0 4868 0010 pea.l [A0 + 0x10]
00000ED4 A8A3 syscall EraseRect
00000ED6 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000EDA 7000 moveq.l D0, 0x00
00000EDC 2F00 move.l -[A7], D0
00000EDE 4EBA 10B8 jsr [PC + 0x10B8 /* 00001F98 */]
label00000EE2:
00000EE2 4E5E unlink A6
00000EE4 4E75 rts
fn00000EE6:
00000EE6 4E56 FFF0 link A6, -0x0010
00000EEA 48E7 0108 movem.l -[A7], D7,A4
00000EEE 49EE FFF0 lea.l A4, [A6 - 0x10]
00000EF2 7E01 moveq.l D7, 0x01
00000EF4 206D FD84 movea.l A0, [A5 - 0x27C]
00000EF8 2050 movea.l A0, [A0]
00000EFA 4A68 0006 tst.w [A0 + 0x6]
00000EFE 6F22 ble +0x24 /* 00000F22 */
00000F00 2F0C move.l -[A7], A4
00000F02 A976 syscall GetKeys
00000F04 7004 moveq.l D0, 0x04
00000F06 C0AC 0004 and.l D0, [A4 + 0x4]
00000F0A 6704 beq +0x6 /* 00000F10 */
00000F0C 7E09 moveq.l D7, 0x09
00000F0E 6002 bra +0x4 /* 00000F12 */
label00000F10:
00000F10 7E00 moveq.l D7, 0x00
label00000F12:
00000F12 3B7C 0001 FD82 move.w [A5 - 0x27E], 0x1
00000F18 206D FD84 movea.l A0, [A5 - 0x27C]
00000F1C 2050 movea.l A0, [A0]
00000F1E 1B50 FD92 move.b [A5 - 0x26E], [A0]
label00000F22:
00000F22 2007 move.l D0, D7
00000F24 4CEE 1080 FFE8 movem.l D7,A4, [A6 - 0x18]
00000F2A 4E5E unlink A6
00000F2C 4E75 rts
fn00000F2E:
00000F2E 4E56 FEE8 link A6, -0x0118
00000F32 48E7 0118 movem.l -[A7], D7,A3,A4
00000F36 486E FEF6 pea.l [A6 - 0x10A]
00000F3A 486E FEF4 pea.l [A6 - 0x10C]
00000F3E 4EBA 1D26 jsr [PC + 0x1D26 /* 00002C66 */]
00000F42 4A6E FEF4 tst.w [A6 - 0x10C]
00000F46 6700 00D6 beq +0xD8 /* 0000101E */
00000F4A 4A6E FEF6 tst.w [A6 - 0x10A]
00000F4E 670A beq +0xC /* 00000F5A */
00000F50 7001 moveq.l D0, 0x01
00000F52 B06E FEF6 cmp.w D0, [A6 - 0x10A]
00000F56 6600 00C6 bne +0xC8 /* 0000101E */
label00000F5A:
00000F5A 7002 moveq.l D0, 0x02
00000F5C A122 syscall NewHandle, flags=1
00000F5E 2848 movea.l A4, A0
00000F60 7E01 moveq.l D7, 0x01
00000F62 6036 bra +0x38 /* 00000F9A */
label00000F64:
00000F64 3F07 move.w -[A7], D7
00000F66 486E FEF8 pea.l [A6 - 0x108]
00000F6A 4EBA 1D1E jsr [PC + 0x1D1E /* 00002C8A */]
00000F6E 558F subq.l A7, 2
00000F70 7000 moveq.l D0, 0x00
00000F72 2F00 move.l -[A7], D0
00000F74 3F2E FEF8 move.w -[A7], [A6 - 0x108]
00000F78 4EBA 1B6A jsr [PC + 0x1B6A /* 00002AE4 */]
00000F7C 41EE FF00 lea.l A0, [A6 - 0x100]
00000F80 224C movea.l A1, A4
00000F82 7000 moveq.l D0, 0x00
00000F84 102E FF00 move.b D0, [A6 - 0x100]
00000F88 5240 addq.w D0, 1
00000F8A 48C0 ext.l D0
00000F8C A9EF syscall PtrAndHand
00000F8E 3F07 move.w -[A7], D7
00000F90 4EBA 1D3E jsr [PC + 0x1D3E /* 00002CD0 */]
00000F94 544F addq.w A7, 2
00000F96 3007 move.w D0, D7
00000F98 5247 addq.w D7, 1
label00000F9A:
00000F9A BE6E FEF4 cmp.w D7, [A6 - 0x10C]
00000F9E 6FC4 ble -0x3A /* 00000F64 */
00000FA0 2054 movea.l A0, [A4]
00000FA2 30AE FEF4 move.w [A0], [A6 - 0x10C]
00000FA6 206D FD84 movea.l A0, [A5 - 0x27C]
00000FAA 2050 movea.l A0, [A0]
00000FAC 316E FEF4 0006 move.w [A0 + 0x6], [A6 - 0x10C]
00000FB2 206D FD84 movea.l A0, [A5 - 0x27C]
00000FB6 2050 movea.l A0, [A0]
00000FB8 117C 0001 0004 move.b [A0 + 0x4], 0x1
00000FBE 598F subq.l A7, 4
00000FC0 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00000FC6 7000 moveq.l D0, 0x00
00000FC8 3F00 move.w -[A7], D0
00000FCA A81F syscall Get1Resource
00000FCC 265F movea.l A3, [A7]+
00000FCE 200B move.l D0, A3
00000FD0 673A beq +0x3C /* 0000100C */
00000FD2 2D4B FEF0 move.l [A6 - 0x110], A3
00000FD6 598F subq.l A7, 4
00000FD8 2F0C move.l -[A7], A4
00000FDA 4EBA 1A1C jsr [PC + 0x1A1C /* 000029F8 */]
00000FDE 201F move.l D0, [A7]+
00000FE0 206E FEF0 movea.l A0, [A6 - 0x110]
00000FE4 A024 syscall SetHandleSize
00000FE6 2054 movea.l A0, [A4]
00000FE8 2253 movea.l A1, [A3]
00000FEA 2D48 FEEC move.l [A6 - 0x114], A0
00000FEE 2D49 FEE8 move.l [A6 - 0x118], A1
00000FF2 598F subq.l A7, 4
00000FF4 2F0C move.l -[A7], A4
00000FF6 4EBA 1A00 jsr [PC + 0x1A00 /* 000029F8 */]
00000FFA 201F move.l D0, [A7]+
00000FFC 206E FEEC movea.l A0, [A6 - 0x114]
00001000 226E FEE8 movea.l A1, [A6 - 0x118]
00001004 A02E syscall BlockMove/BlockMoveData
00001006 204C movea.l A0, A4
00001008 A023 syscall DisposHandle/DisposeHandle
0000100A 6012 bra +0x14 /* 0000101E */
label0000100C:
0000100C 2F0C move.l -[A7], A4
0000100E 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00001014 7000 moveq.l D0, 0x00
00001016 3F00 move.w -[A7], D0
00001018 486D FC6A pea.l [A5 - 0x396]
0000101C A9AB syscall AddResource
label0000101E:
0000101E 4CEE 1880 FEDC movem.l D7,A3,A4, [A6 - 0x124]
00001024 4E5E unlink A6
00001026 4E75 rts
fn00001028:
00001028 4E56 0000 link A6, 0
0000102C 302E 000A move.w D0, [A6 + 0xA]
00001030 0440 FFDE subi.w D0, 0xFFDE
00001034 6604 bne +0x6 /* 0000103A */
00001036 70DE moveq.l D0, 0xFFFFFFDE
00001038 6004 bra +0x6 /* 0000103E */
label0000103A:
0000103A 303C 56F0 move.w D0, 0x56F0
label0000103E:
0000103E 4E5E unlink A6
00001040 4E75 rts
fn00001042:
00001042 4E56 FD26 link A6, -0x02DA
00001046 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000104A 47EE FE2A lea.l A3, [A6 - 0x1D6]
0000104E 4204 clr.b D4
00001050 426E FFD0 clr.w [A6 - 0x30]
00001054 4205 clr.b D5
00001056 422E FFFF clr.b [A6 - 0x1]
0000105A A853 syscall ShowCursor
0000105C 558F subq.l A7, 2
0000105E A994 syscall CurResFile
00001060 3D5F FFCE move.w [A6 - 0x32], [A7]+
00001064 422E FD2A clr.b [A6 - 0x2D6]
00001068 2D7C 5657 5052 FFBE move.l [A6 - 0x42], 0x56575052 /* 'VWPR' */
00001070 2D7C 5657 4D44 FFC2 move.l [A6 - 0x3E], 0x56574D44 /* 'VWMD' */
00001078 3D7C 0002 FFD6 move.w [A6 - 0x2A], 0x2
0000107E 206D FD84 movea.l A0, [A5 - 0x27C]
00001082 2050 movea.l A0, [A0]
00001084 4A28 0004 tst.b [A0 + 0x4]
00001088 670E beq +0x10 /* 00001098 */
0000108A 2D7C 5657 4330 FFC6 move.l [A6 - 0x3A], 0x56574330 /* 'VWC0' */
00001092 3D7C 0003 FFD6 move.w [A6 - 0x2A], 0x3
label00001098:
00001098 486E FD2A pea.l [A6 - 0x2D6]
0000109C 3F3C 1165 move.w -[A7], 0x1165
000010A0 7002 moveq.l D0, 0x02
000010A2 3F00 move.w -[A7], D0
000010A4 4EBA 1C78 jsr [PC + 0x1C78 /* 00002D1E */]
000010A8 2F0B move.l -[A7], A3
000010AA 3F3C 1165 move.w -[A7], 0x1165
000010AE 7001 moveq.l D0, 0x01
000010B0 3F00 move.w -[A7], D0
000010B2 4EBA 1C6A jsr [PC + 0x1C6A /* 00002D1E */]
000010B6 486E FD26 pea.l [A6 - 0x2DA]
000010BA 2F3C FFFF F061 move.l -[A7], 0xFFFFF061
000010C0 4EBA EF9C jsr [PC - 0x1064 /* 0000005E */]
000010C4 2F2E FD26 move.l -[A7], [A6 - 0x2DA]
000010C8 486E FD2A pea.l [A6 - 0x2D6]
000010CC 2F0B move.l -[A7], A3
000010CE 7000 moveq.l D0, 0x00
000010D0 2F00 move.l -[A7], D0
000010D2 486E FF74 pea.l [A6 - 0x8C]
000010D6 3F3C 0001 move.w -[A7], 0x1
000010DA A9EA syscall Pack3
000010DC 4A2E FF74 tst.b [A6 - 0x8C]
000010E0 504F addq.w A7, 8
000010E2 6700 0404 beq +0x406 /* 000014E8 */
000010E6 3D7C FFFF FD26 move.w [A6 - 0x2DA], 0xFFFF
000010EC 3D7C FFFF FD28 move.w [A6 - 0x2D8], 0xFFFF
000010F2 7EFF moveq.l D7, 0xFFFFFFFF
label000010F4:
000010F4 486E FF7E pea.l [A6 - 0x82]
000010F8 7000 moveq.l D0, 0x00
000010FA 2F00 move.l -[A7], D0
000010FC 2F00 move.l -[A7], D0
000010FE 2F00 move.l -[A7], D0
00001100 A98B syscall ParamText
00001102 486E FD26 pea.l [A6 - 0x2DA]
00001106 4878 0DCF push.l 0xDCF
0000110A 4EBA EF52 jsr [PC - 0x10AE /* 0000005E */]
0000110E 2F2E FD26 move.l -[A7], [A6 - 0x2DA]
00001112 486E FD2A pea.l [A6 - 0x2D6]
00001116 7000 moveq.l D0, 0x00
00001118 2F00 move.l -[A7], D0
0000111A 3F2E FFD6 move.w -[A7], [A6 - 0x2A]
0000111E 486E FFBE pea.l [A6 - 0x42]
00001122 2F00 move.l -[A7], D0
00001124 486E FF2A pea.l [A6 - 0xD6]
00001128 3F3C 0DCF move.w -[A7], 0xDCF
0000112C 2F00 move.l -[A7], D0
0000112E 3F3C 0004 move.w -[A7], 0x4
00001132 A9EA syscall Pack3
00001134 4A2E FF2A tst.b [A6 - 0xD6]
00001138 504F addq.w A7, 8
0000113A 660A bne +0xC /* 00001146 */
0000113C 4A04 tst.b D4
0000113E 6600 035C bne +0x35E /* 0000149C */
00001142 6000 03A4 bra +0x3A6 /* 000014E8 */
label00001146:
00001146 4A04 tst.b D4
00001148 6600 01EA bne +0x1EC /* 00001334 */
0000114C 558F subq.l A7, 2
0000114E 7000 moveq.l D0, 0x00
00001150 2F00 move.l -[A7], D0
00001152 3F2E FF7A move.w -[A7], [A6 - 0x86]
00001156 4EBA 198C jsr [PC + 0x198C /* 00002AE4 */]
0000115A 3B5F FC7A move.w [A5 - 0x386], [A7]+
0000115E 558F subq.l A7, 2
00001160 486E FF7E pea.l [A6 - 0x82]
00001164 7000 moveq.l D0, 0x00
00001166 3F00 move.w -[A7], D0
00001168 2F3C 4D4D 5042 move.l -[A7], 0x4D4D5042 /* 'MMPB' */
0000116E 2F3C 4150 504C move.l -[A7], 0x4150504C /* 'APPL' */
00001174 4EBA 19AE jsr [PC + 0x19AE /* 00002B24 */]
00001178 3B5F FC7A move.w [A5 - 0x386], [A7]+
0000117C 6612 bne +0x14 /* 00001190 */
0000117E 302E FF7A move.w D0, [A6 - 0x86]
00001182 48C0 ext.l D0
00001184 2F00 move.l -[A7], D0
00001186 486E FF7E pea.l [A6 - 0x82]
0000118A 4EBA 061C jsr [PC + 0x61C /* 000017A8 */]
0000118E 504F addq.w A7, 8
label00001190:
00001190 486E FF7E pea.l [A6 - 0x82]
00001194 A9B1 syscall CreateResFile
00001196 558F subq.l A7, 2
00001198 A9AF syscall ResError
0000119A 3B5F FC7A move.w [A5 - 0x386], [A7]+
0000119E 677E beq +0x80 /* 0000121E */
000011A0 70D0 moveq.l D0, 0xFFFFFFD0
000011A2 B06D FC7A cmp.w D0, [A5 - 0x386]
000011A6 6650 bne +0x52 /* 000011F8 */
000011A8 558F subq.l A7, 2
000011AA 486E FF7E pea.l [A6 - 0x82]
000011AE 3F2E FF7A move.w -[A7], [A6 - 0x86]
000011B2 4EBA 19AE jsr [PC + 0x19AE /* 00002B62 */]
000011B6 558F subq.l A7, 2
000011B8 486E FF7E pea.l [A6 - 0x82]
000011BC 7000 moveq.l D0, 0x00
000011BE 3F00 move.w -[A7], D0
000011C0 2F3C 4D4D 5042 move.l -[A7], 0x4D4D5042 /* 'MMPB' */
000011C6 2F3C 4150 504C move.l -[A7], 0x4150504C /* 'APPL' */
000011CC 4EBA 1956 jsr [PC + 0x1956 /* 00002B24 */]
000011D0 3B5F FC7A move.w [A5 - 0x386], [A7]+
000011D4 544F addq.w A7, 2
000011D6 6612 bne +0x14 /* 000011EA */
000011D8 302E FF7A move.w D0, [A6 - 0x86]
000011DC 48C0 ext.l D0
000011DE 2F00 move.l -[A7], D0
000011E0 486E FF7E pea.l [A6 - 0x82]
000011E4 4EBA 05C2 jsr [PC + 0x5C2 /* 000017A8 */]
000011E8 504F addq.w A7, 8
label000011EA:
000011EA 486E FF7E pea.l [A6 - 0x82]
000011EE A9B1 syscall CreateResFile
000011F0 558F subq.l A7, 2
000011F2 A9AF syscall ResError
000011F4 3B5F FC7A move.w [A5 - 0x386], [A7]+
label000011F8:
000011F8 4A6D FC7A tst.w [A5 - 0x386]
000011FC 6720 beq +0x22 /* 0000121E */
000011FE 302D FC7A move.w D0, [A5 - 0x386]
00001202 48C0 ext.l D0
00001204 2F00 move.l -[A7], D0
00001206 4EBA FE20 jsr [PC - 0x1E0 /* 00001028 */]
0000120A 48C0 ext.l D0
0000120C 588F addq.l A7, 4
0000120E 2F00 move.l -[A7], D0
00001210 486E FF7E pea.l [A6 - 0x82]
00001214 4EBA F4D0 jsr [PC - 0xB30 /* 000006E6 */]
00001218 504F addq.w A7, 8
0000121A 6000 02CC bra +0x2CE /* 000014E8 */
label0000121E:
0000121E 486E FFDE pea.l [A6 - 0x22]
00001222 486E FFD8 pea.l [A6 - 0x28]
00001226 486E FFDA pea.l [A6 - 0x26]
0000122A A9F5 syscall GetAppParms
0000122C 598F subq.l A7, 4
0000122E 7004 moveq.l D0, 0x04
00001230 3F00 move.w -[A7], D0
00001232 A9B9 syscall GetCursor
00001234 205F movea.l A0, [A7]+
00001236 2F10 move.l -[A7], [A0]
00001238 A851 syscall SetCursor
0000123A 302E FF7A move.w D0, [A6 - 0x86]
0000123E 48C0 ext.l D0
00001240 2F00 move.l -[A7], D0
00001242 486E FF7E pea.l [A6 - 0x82]
00001246 302D FD96 move.w D0, [A5 - 0x26A]
0000124A 48C0 ext.l D0
0000124C 2F00 move.l -[A7], D0
0000124E 486E FFDE pea.l [A6 - 0x22]
00001252 4EBA 03F2 jsr [PC + 0x3F2 /* 00001646 */]
00001256 3B40 FC7A move.w [A5 - 0x386], D0
0000125A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000125E 6736 beq +0x38 /* 00001296 */
00001260 486D FE12 pea.l [A5 - 0x1EE]
00001264 A851 syscall SetCursor
00001266 558F subq.l A7, 2
00001268 486E FF7E pea.l [A6 - 0x82]
0000126C 3F2E FF7A move.w -[A7], [A6 - 0x86]
00001270 4EBA 18F0 jsr [PC + 0x18F0 /* 00002B62 */]
00001274 302D FC7A move.w D0, [A5 - 0x386]
00001278 48C0 ext.l D0
0000127A 2F00 move.l -[A7], D0
0000127C 4EBA FDAA jsr [PC - 0x256 /* 00001028 */]
00001280 48C0 ext.l D0
00001282 588F addq.l A7, 4
00001284 2F00 move.l -[A7], D0
00001286 486E FF7E pea.l [A6 - 0x82]
0000128A 4EBA F45A jsr [PC - 0xBA6 /* 000006E6 */]
0000128E 4FEF 000A lea.l A7, [A7 + 0xA]
00001292 6000 0254 bra +0x256 /* 000014E8 */
label00001296:
00001296 558F subq.l A7, 2
00001298 598F subq.l A7, 4
0000129A 486E FF7E pea.l [A6 - 0x82]
0000129E 4EBA 1CE4 jsr [PC + 0x1CE4 /* 00002F84 */]
000012A2 A997 syscall OpenResFile
000012A4 3E1F move.w D7, [A7]+
000012A6 3F07 move.w -[A7], D7
000012A8 A999 syscall UpdateResFile
000012AA 3F07 move.w -[A7], D7
000012AC A998 syscall UseResFile
000012AE 48C7 ext.l D7
000012B0 2F07 move.l -[A7], D7
000012B2 4EBA 053A jsr [PC + 0x53A /* 000017EE */]
000012B6 598F subq.l A7, 4
000012B8 2F3C 5657 7374 move.l -[A7], 0x56577374 /* 'VWst' */
000012BE 7000 moveq.l D0, 0x00
000012C0 3F00 move.w -[A7], D0
000012C2 A81F syscall Get1Resource
000012C4 2D5F FFD2 move.l [A6 - 0x2E], [A7]+
000012C8 584F addq.w A7, 4
000012CA 6626 bne +0x28 /* 000012F2 */
000012CC 2D6D FD84 FFD2 move.l [A6 - 0x2E], [A5 - 0x27C]
000012D2 558F subq.l A7, 2
000012D4 486E FFD2 pea.l [A6 - 0x2E]
000012D8 4EBA 1A2E jsr [PC + 0x1A2E /* 00002D08 */]
000012DC 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
000012E0 2F3C 5657 7374 move.l -[A7], 0x56577374 /* 'VWst' */
000012E6 7000 moveq.l D0, 0x00
000012E8 3F00 move.w -[A7], D0
000012EA 486D FD9C pea.l [A5 - 0x264]
000012EE A9AB syscall AddResource
000012F0 544F addq.w A7, 2
label000012F2:
000012F2 206E FFD2 movea.l A0, [A6 - 0x2E]
000012F6 2050 movea.l A0, [A0]
000012F8 4268 0006 clr.w [A0 + 0x6]
000012FC 598F subq.l A7, 4
000012FE 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00001304 7000 moveq.l D0, 0x00
00001306 3F00 move.w -[A7], D0
00001308 A81F syscall Get1Resource
0000130A 285F movea.l A4, [A7]+
0000130C 200C move.l D0, A4
0000130E 6708 beq +0xA /* 00001318 */
00001310 204C movea.l A0, A4
00001312 7002 moveq.l D0, 0x02
00001314 A024 syscall SetHandleSize
00001316 6018 bra +0x1A /* 00001330 */
label00001318:
00001318 7002 moveq.l D0, 0x02
0000131A A122 syscall NewHandle, flags=1
0000131C 2848 movea.l A4, A0
0000131E 2F0C move.l -[A7], A4
00001320 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00001326 7000 moveq.l D0, 0x00
00001328 3F00 move.w -[A7], D0
0000132A 486D FD9E pea.l [A5 - 0x262]
0000132E A9AB syscall AddResource
label00001330:
00001330 2054 movea.l A0, [A4]
00001332 4250 clr.w [A0]
label00001334:
00001334 2054 movea.l A0, [A4]
00001336 5250 addq.w [A0], 1
00001338 2F0B move.l -[A7], A3
0000133A 302E FF30 move.w D0, [A6 - 0xD0]
0000133E 48C0 ext.l D0
00001340 2F00 move.l -[A7], D0
00001342 4EBA 0864 jsr [PC + 0x864 /* 00001BA8 */]
00001346 486E FF34 pea.l [A6 - 0xCC]
0000134A 2F0B move.l -[A7], A3
0000134C 4EBA 0826 jsr [PC + 0x826 /* 00001B74 */]
00001350 204B movea.l A0, A3
00001352 224C movea.l A1, A4
00001354 7000 moveq.l D0, 0x00
00001356 1013 move.b D0, [A3]
00001358 5240 addq.w D0, 1
0000135A 48C0 ext.l D0
0000135C A9EF syscall PtrAndHand
0000135E 2F0C move.l -[A7], A4
00001360 A9AA syscall ChangedResource
00001362 206D FD84 movea.l A0, [A5 - 0x27C]
00001366 2050 movea.l A0, [A0]
00001368 4A28 0004 tst.b [A0 + 0x4]
0000136C 4FEF 0010 lea.l A7, [A7 + 0x10]
00001370 6600 00D6 bne +0xD8 /* 00001448 */
00001374 598F subq.l A7, 4
00001376 7004 moveq.l D0, 0x04
00001378 3F00 move.w -[A7], D0
0000137A A9B9 syscall GetCursor
0000137C 205F movea.l A0, [A7]+
0000137E 2F10 move.l -[A7], [A0]
00001380 A851 syscall SetCursor
00001382 558F subq.l A7, 2
00001384 7000 moveq.l D0, 0x00
00001386 2F00 move.l -[A7], D0
00001388 3F2E FF30 move.w -[A7], [A6 - 0xD0]
0000138C 4EBA 1756 jsr [PC + 0x1756 /* 00002AE4 */]
00001390 558F subq.l A7, 2
00001392 598F subq.l A7, 4
00001394 486E FF34 pea.l [A6 - 0xCC]
00001398 4EBA 1BEA jsr [PC + 0x1BEA /* 00002F84 */]
0000139C A997 syscall OpenResFile
0000139E 3C1F move.w D6, [A7]+
000013A0 558F subq.l A7, 2
000013A2 A9AF syscall ResError
000013A4 3B5F FC7A move.w [A5 - 0x386], [A7]+
000013A8 544F addq.w A7, 2
000013AA 6720 beq +0x22 /* 000013CC */
000013AC 302D FC7A move.w D0, [A5 - 0x386]
000013B0 48C0 ext.l D0
000013B2 2F00 move.l -[A7], D0
000013B4 4EBA FC72 jsr [PC - 0x38E /* 00001028 */]
000013B8 48C0 ext.l D0
000013BA 588F addq.l A7, 4
000013BC 2F00 move.l -[A7], D0
000013BE 486E FF34 pea.l [A6 - 0xCC]
000013C2 4EBA F322 jsr [PC - 0xCDE /* 000006E6 */]
000013C6 504F addq.w A7, 8
000013C8 6000 00D2 bra +0xD4 /* 0000149C */
label000013CC:
000013CC 4EBA 0544 jsr [PC + 0x544 /* 00001912 */]
000013D0 4A00 tst.b D0
000013D2 6702 beq +0x4 /* 000013D6 */
000013D4 7A01 moveq.l D5, 0x01
label000013D6:
000013D6 7001 moveq.l D0, 0x01
000013D8 2F00 move.l -[A7], D0
000013DA 322E FFD0 move.w D1, [A6 - 0x30]
000013DE 48C1 ext.l D1
000013E0 2F01 move.l -[A7], D1
000013E2 48C7 ext.l D7
000013E4 2F07 move.l -[A7], D7
000013E6 48C6 ext.l D6
000013E8 2F06 move.l -[A7], D6
000013EA 4EBA 0106 jsr [PC + 0x106 /* 000014F2 */]
000013EE 558F subq.l A7, 2
000013F0 A9AF syscall ResError
000013F2 3B5F FC7A move.w [A5 - 0x386], [A7]+
000013F6 4FEF 0010 lea.l A7, [A7 + 0x10]
000013FA 6722 beq +0x24 /* 0000141E */
000013FC 302D FC7A move.w D0, [A5 - 0x386]
00001400 48C0 ext.l D0
00001402 2F00 move.l -[A7], D0
00001404 4EBA FC22 jsr [PC - 0x3DE /* 00001028 */]
00001408 48C0 ext.l D0
0000140A 588F addq.l A7, 4
0000140C 2F00 move.l -[A7], D0
0000140E 486E FF7E pea.l [A6 - 0x82]
00001412 4EBA F2D2 jsr [PC - 0xD2E /* 000006E6 */]
00001416 504F addq.w A7, 8
label00001418:
00001418 3F06 move.w -[A7], D6
0000141A A99A syscall CloseResFile
0000141C 607E bra +0x80 /* 0000149C */
label0000141E:
0000141E 3F06 move.w -[A7], D6
00001420 A99A syscall CloseResFile
00001422 4A05 tst.b D5
00001424 6750 beq +0x52 /* 00001476 */
00001426 4A2E FFFF tst.b [A6 - 0x1]
0000142A 664A bne +0x4C /* 00001476 */
0000142C 7000 moveq.l D0, 0x00
0000142E 2F00 move.l -[A7], D0
00001430 4878 34B8 push.l 0x34B8
00001434 4EBA ECA4 jsr [PC - 0x135C /* 000000DA */]
00001438 0C40 0001 cmpi.w D0, 0x1
0000143C 504F addq.w A7, 8
0000143E 66D8 bne -0x26 /* 00001418 */
00001440 1D7C 0001 FFFF move.b [A6 - 0x1], 0x1
00001446 602E bra +0x30 /* 00001476 */
label00001448:
00001448 558F subq.l A7, 2
0000144A 598F subq.l A7, 4
0000144C 486E FF34 pea.l [A6 - 0xCC]
00001450 4EBA 1B32 jsr [PC + 0x1B32 /* 00002F84 */]
00001454 3F2E FF30 move.w -[A7], [A6 - 0xD0]
00001458 7000 moveq.l D0, 0x00
0000145A 1F00 move.b -[A7], D0
0000145C A9C4 syscall OpenRFPerm
0000145E 3C1F move.w D6, [A7]+
00001460 558F subq.l A7, 2
00001462 A9AF syscall ResError
00001464 4A5F tst.w [A7]+
00001466 660E bne +0x10 /* 00001476 */
00001468 4EBA 04A8 jsr [PC + 0x4A8 /* 00001912 */]
0000146C 4A00 tst.b D0
0000146E 6702 beq +0x4 /* 00001472 */
00001470 7A01 moveq.l D5, 0x01
label00001472:
00001472 3F06 move.w -[A7], D6
00001474 A99A syscall CloseResFile
label00001476:
00001476 206E FFD2 movea.l A0, [A6 - 0x2E]
0000147A 2050 movea.l A0, [A0]
0000147C 5268 0006 addq.w [A0 + 0x6], 1
00001480 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00001484 A9AA syscall ChangedResource
00001486 3F07 move.w -[A7], D7
00001488 A999 syscall UpdateResFile
0000148A 7801 moveq.l D4, 0x01
0000148C 066E 03E8 FFD0 addi.w [A6 - 0x30], 0x3E8
00001492 486D FE12 pea.l [A5 - 0x1EE]
00001496 A851 syscall SetCursor
00001498 6000 FC5A bra -0x3A4 /* 000010F4 */
label0000149C:
0000149C 486D FE12 pea.l [A5 - 0x1EE]
000014A0 A851 syscall SetCursor
000014A2 4A47 tst.w D7
000014A4 6D3C blt +0x3E /* 000014E2 */
000014A6 4A05 tst.b D5
000014A8 6624 bne +0x26 /* 000014CE */
000014AA 3F07 move.w -[A7], D7
000014AC A998 syscall UseResFile
000014AE 4878 00C9 push.l 0xC9
000014B2 4EBA 03BC jsr [PC + 0x3BC /* 00001870 */]
000014B6 206D FD84 movea.l A0, [A5 - 0x27C]
000014BA 2050 movea.l A0, [A0]
000014BC 4A28 0004 tst.b [A0 + 0x4]
000014C0 584F addq.w A7, 4
000014C2 660A bne +0xC /* 000014CE */
000014C4 4878 00C8 push.l 0xC8
000014C8 4EBA 03A6 jsr [PC + 0x3A6 /* 00001870 */]
000014CC 584F addq.w A7, 4
label000014CE:
000014CE 3F07 move.w -[A7], D7
000014D0 A99A syscall CloseResFile
000014D2 558F subq.l A7, 2
000014D4 7000 moveq.l D0, 0x00
000014D6 2F00 move.l -[A7], D0
000014D8 3F2E FF7A move.w -[A7], [A6 - 0x86]
000014DC 4EBA 1626 jsr [PC + 0x1626 /* 00002B04 */]
000014E0 544F addq.w A7, 2
label000014E2:
000014E2 3F2E FFCE move.w -[A7], [A6 - 0x32]
000014E6 A998 syscall UseResFile
label000014E8:
000014E8 4CEE 18F0 FD0E movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x2F2]
000014EE 4E5E unlink A6
000014F0 4E75 rts
fn000014F2:
000014F2 4E56 FEF0 link A6, -0x0110
000014F6 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000014FA 49EE FEFE lea.l A4, [A6 - 0x102]
000014FE 3F2E 000A move.w -[A7], [A6 + 0xA]
00001502 A998 syscall UseResFile
00001504 558F subq.l A7, 2
00001506 A9AF syscall ResError
00001508 4A5F tst.w [A7]+
0000150A 6600 0130 bne +0x132 /* 0000163C */
0000150E 558F subq.l A7, 2
00001510 A81C syscall Count1Types
00001512 301F move.w D0, [A7]+
00001514 48C0 ext.l D0
00001516 2800 move.l D4, D0
00001518 558F subq.l A7, 2
0000151A A9AF syscall ResError
0000151C 4A5F tst.w [A7]+
0000151E 6600 011C bne +0x11E /* 0000163C */
00001522 4A2E 0017 tst.b [A6 + 0x17]
00001526 672E beq +0x30 /* 00001556 */
00001528 598F subq.l A7, 4
0000152A 2F3C 5657 4346 move.l -[A7], 0x56574346 /* 'VWCF' */
00001530 7001 moveq.l D0, 0x01
00001532 3F00 move.w -[A7], D0
00001534 A80E syscall Get1IndResource/Get1IxResource
00001536 2D5F FEF4 move.l [A6 - 0x10C], [A7]+
0000153A 558F subq.l A7, 2
0000153C A9AF syscall ResError
0000153E 4A5F tst.w [A7]+
00001540 6600 00FA bne +0xFC /* 0000163C */
00001544 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00001548 486E FFFE pea.l [A6 - 0x2]
0000154C 486E FEF8 pea.l [A6 - 0x108]
00001550 2F0C move.l -[A7], A4
00001552 A9A8 syscall GetResInfo
00001554 6006 bra +0x8 /* 0000155C */
label00001556:
00001556 3D7C 0400 FFFE move.w [A6 - 0x2], 0x400
label0000155C:
0000155C 7A01 moveq.l D5, 0x01
0000155E 6000 00D6 bra +0xD8 /* 00001636 */
label00001562:
00001562 3F2E 000A move.w -[A7], [A6 + 0xA]
00001566 A998 syscall UseResFile
00001568 486E FEF0 pea.l [A6 - 0x110]
0000156C 3F05 move.w -[A7], D5
0000156E A80F syscall Get1IndType/Get1IxType
00001570 558F subq.l A7, 2
00001572 2F2E FEF0 move.l -[A7], [A6 - 0x110]
00001576 A80D syscall Count1Resources
00001578 301F move.w D0, [A7]+
0000157A 48C0 ext.l D0
0000157C 2C00 move.l D6, D0
0000157E 7E01 moveq.l D7, 0x01
00001580 6000 00AA bra +0xAC /* 0000162C */
label00001584:
00001584 3F2E 000A move.w -[A7], [A6 + 0xA]
00001588 A998 syscall UseResFile
0000158A 598F subq.l A7, 4
0000158C 2F2E FEF0 move.l -[A7], [A6 - 0x110]
00001590 3F07 move.w -[A7], D7
00001592 A80E syscall Get1IndResource/Get1IxResource
00001594 2D5F FEF4 move.l [A6 - 0x10C], [A7]+
00001598 558F subq.l A7, 2
0000159A A9AF syscall ResError
0000159C 4A5F tst.w [A7]+
0000159E 6600 009C bne +0x9E /* 0000163C */
000015A2 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
000015A6 486E FEFC pea.l [A6 - 0x104]
000015AA 486E FEF8 pea.l [A6 - 0x108]
000015AE 2F0C move.l -[A7], A4
000015B0 A9A8 syscall GetResInfo
000015B2 0CAE 5354 5220 FEF8 cmpi.l [A6 - 0x108], 0x53545220 /* 'STR ' */
000015BA 6610 bne +0x12 /* 000015CC */
000015BC 0C6E BFF4 FEFC cmpi.w [A6 - 0x104], 0xBFF4
000015C2 6608 bne +0xA /* 000015CC */
000015C4 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
000015C8 A9A3 syscall ReleaseResource
000015CA 605C bra +0x5E /* 00001628 */
label000015CC:
000015CC 4A2E 0017 tst.b [A6 + 0x17]
000015D0 6708 beq +0xA /* 000015DA */
000015D2 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
000015D6 A992 syscall DetachResource
000015D8 600C bra +0xE /* 000015E6 */
label000015DA:
000015DA 558F subq.l A7, 2
000015DC 486E FEF4 pea.l [A6 - 0x10C]
000015E0 4EBA 1726 jsr [PC + 0x1726 /* 00002D08 */]
000015E4 544F addq.w A7, 2
label000015E6:
000015E6 3F2E 000E move.w -[A7], [A6 + 0xE]
000015EA A998 syscall UseResFile
000015EC 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
000015F0 2F2E FEF0 move.l -[A7], [A6 - 0x110]
000015F4 302E FEFC move.w D0, [A6 - 0x104]
000015F8 48C0 ext.l D0
000015FA 322E FFFE move.w D1, [A6 - 0x2]
000015FE 48C1 ext.l D1
00001600 9081 sub.l D0, D1
00001602 D0BC 0000 0400 add.l D0, 0x400
00001608 322E 0012 move.w D1, [A6 + 0x12]
0000160C D240 add.w D1, D0
0000160E 3F01 move.w -[A7], D1
00001610 2F0C move.l -[A7], A4
00001612 A9AB syscall AddResource
00001614 558F subq.l A7, 2
00001616 A9AF syscall ResError
00001618 4A5F tst.w [A7]+
0000161A 6620 bne +0x22 /* 0000163C */
0000161C 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00001620 A9B0 syscall WriteResource
00001622 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00001626 A9A3 syscall ReleaseResource
label00001628:
00001628 2007 move.l D0, D7
0000162A 5287 addq.l D7, 1
label0000162C:
0000162C BC87 cmp.l D6, D7
0000162E 6C00 FF54 bge -0xAA /* 00001584 */
00001632 2005 move.l D0, D5
00001634 5285 addq.l D5, 1
label00001636:
00001636 B885 cmp.l D4, D5
00001638 6C00 FF28 bge -0xD6 /* 00001562 */
label0000163C:
0000163C 4CEE 10F0 FEDC movem.l D4,D5,D6,D7,A4, [A6 - 0x124]
00001642 4E5E unlink A6
00001644 4E75 rts
fn00001646:
00001646 4E56 EFA6 link A6, -0x105A
0000164A 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000164E 7C00 moveq.l D6, 0x00
00001650 2E3C 0000 1000 move.l D7, 0x1000
00001656 49EE EFB0 lea.l A4, [A6 - 0x1050]
0000165A 426E EFA6 clr.w [A6 - 0x105A]
0000165E 4245 clr.w D5
00001660 7000 moveq.l D0, 0x00
00001662 2D40 FFBC move.l [A6 - 0x44], D0
00001666 2D6E 0008 FFC2 move.l [A6 - 0x3E], [A6 + 0x8]
0000166C 3D6E 000E FFC6 move.w [A6 - 0x3A], [A6 + 0xE]
00001672 422E FFCA clr.b [A6 - 0x36]
00001676 1D7C 0001 FFCB move.b [A6 - 0x35], 0x1
0000167C 2D40 FFCC move.l [A6 - 0x34], D0
00001680 558F subq.l A7, 2
00001682 486E FFB0 pea.l [A6 - 0x50]
00001686 7000 moveq.l D0, 0x00
00001688 1F00 move.b -[A7], D0
0000168A 4EBA 138C jsr [PC + 0x138C /* 00002A18 */]
0000168E 302E FFC0 move.w D0, [A6 - 0x40]
00001692 48C0 ext.l D0
00001694 2C00 move.l D6, D0
00001696 544F addq.w A7, 2
00001698 6600 00DA bne +0xDC /* 00001774 */
0000169C 3A2E FFC8 move.w D5, [A6 - 0x38]
000016A0 558F subq.l A7, 2
000016A2 2F2E 0010 move.l -[A7], [A6 + 0x10]
000016A6 3F2E 0016 move.w -[A7], [A6 + 0x16]
000016AA 486E EFA6 pea.l [A6 - 0x105A]
000016AE 4EBA 14D6 jsr [PC + 0x14D6 /* 00002B86 */]
000016B2 301F move.w D0, [A7]+
000016B4 48C0 ext.l D0
000016B6 2C00 move.l D6, D0
000016B8 6708 beq +0xA /* 000016C2 */
000016BA 426E EFA6 clr.w [A6 - 0x105A]
000016BE 6000 00B4 bra +0xB6 /* 00001774 */
label000016C2:
000016C2 558F subq.l A7, 2
000016C4 3F05 move.w -[A7], D5
000016C6 486E EFA8 pea.l [A6 - 0x1058]
000016CA 4EBA 152A jsr [PC + 0x152A /* 00002BF6 */]
000016CE 558F subq.l A7, 2
000016D0 3F2E EFA6 move.w -[A7], [A6 - 0x105A]
000016D4 7001 moveq.l D0, 0x01
000016D6 3F00 move.w -[A7], D0
000016D8 7200 moveq.l D1, 0x00
000016DA 2F01 move.l -[A7], D1
000016DC 4EBA 153A jsr [PC + 0x153A /* 00002C18 */]
000016E0 203C 0000 4E20 move.l D0, 0x4E20 /* 'N ' */
000016E6 A11E syscall NewPtr, flags=1
000016E8 2648 movea.l A3, A0
000016EA 4A78 0220 tst.w [0x00000220 /* MemErr */]
000016EE 584F addq.w A7, 4
000016F0 660A bne +0xC /* 000016FC */
000016F2 2E3C 0000 4E20 move.l D7, 0x4E20 /* 'N ' */
000016F8 284B movea.l A4, A3
000016FA 6072 bra +0x74 /* 0000176E */
label000016FC:
000016FC 7000 moveq.l D0, 0x00
000016FE 2640 movea.l A3, D0
00001700 606C bra +0x6E /* 0000176E */
label00001702:
00001702 BEAE EFA8 cmp.l D7, [A6 - 0x1058]
00001706 6C32 bge +0x34 /* 0000173A */
00001708 2D47 EFAC move.l [A6 - 0x1054], D7
0000170C 558F subq.l A7, 2
0000170E 3F05 move.w -[A7], D5
00001710 486E EFAC pea.l [A6 - 0x1054]
00001714 2F0C move.l -[A7], A4
00001716 4EBA 132C jsr [PC + 0x132C /* 00002A44 */]
0000171A 558F subq.l A7, 2
0000171C 3F2E EFA6 move.w -[A7], [A6 - 0x105A]
00001720 486E EFAC pea.l [A6 - 0x1054]
00001724 2F0C move.l -[A7], A4
00001726 4EBA 1320 jsr [PC + 0x1320 /* 00002A48 */]
0000172A 301F move.w D0, [A7]+
0000172C 48C0 ext.l D0
0000172E 2C00 move.l D6, D0
00001730 544F addq.w A7, 2
00001732 6640 bne +0x42 /* 00001774 */
00001734 9FAE EFA8 sub.l [A6 - 0x1058], D7
00001738 6034 bra +0x36 /* 0000176E */
label0000173A:
0000173A 2D6E EFA8 EFAC move.l [A6 - 0x1054], [A6 - 0x1058]
00001740 558F subq.l A7, 2
00001742 3F05 move.w -[A7], D5
00001744 486E EFAC pea.l [A6 - 0x1054]
00001748 2F0C move.l -[A7], A4
0000174A 4EBA 12F8 jsr [PC + 0x12F8 /* 00002A44 */]
0000174E 558F subq.l A7, 2
00001750 3F2E EFA6 move.w -[A7], [A6 - 0x105A]
00001754 486E EFAC pea.l [A6 - 0x1054]
00001758 2F0C move.l -[A7], A4
0000175A 4EBA 12EC jsr [PC + 0x12EC /* 00002A48 */]
0000175E 301F move.w D0, [A7]+
00001760 48C0 ext.l D0
00001762 2C00 move.l D6, D0
00001764 544F addq.w A7, 2
00001766 660C bne +0xE /* 00001774 */
00001768 7000 moveq.l D0, 0x00
0000176A 2D40 EFA8 move.l [A6 - 0x1058], D0
label0000176E:
0000176E 4AAE EFA8 tst.l [A6 - 0x1058]
00001772 6E8E bgt -0x70 /* 00001702 */
label00001774:
00001774 200B move.l D0, A3
00001776 6704 beq +0x6 /* 0000177C */
00001778 204B movea.l A0, A3
0000177A A01F syscall DisposPtr/DisposePtr
label0000177C:
0000177C 4A6E EFA6 tst.w [A6 - 0x105A]
00001780 670C beq +0xE /* 0000178E */
00001782 558F subq.l A7, 2
00001784 3F2E EFA6 move.w -[A7], [A6 - 0x105A]
00001788 4EBA 12A0 jsr [PC + 0x12A0 /* 00002A2A */]
0000178C 544F addq.w A7, 2
label0000178E:
0000178E 4A45 tst.w D5
00001790 670A beq +0xC /* 0000179C */
00001792 558F subq.l A7, 2
00001794 3F05 move.w -[A7], D5
00001796 4EBA 1292 jsr [PC + 0x1292 /* 00002A2A */]
0000179A 544F addq.w A7, 2
label0000179C:
0000179C 2006 move.l D0, D6
0000179E 4CEE 18E0 EF92 movem.l D5,D6,D7,A3,A4, [A6 - 0x106E]
000017A4 4E5E unlink A6
000017A6 4E75 rts
fn000017A8:
000017A8 4E56 FFF0 link A6, -0x0010
000017AC 48E7 0108 movem.l -[A7], D7,A4
000017B0 3E2E 000E move.w D7, [A6 + 0xE]
000017B4 286E 0008 movea.l A4, [A6 + 0x8]
000017B8 558F subq.l A7, 2
000017BA 2F0C move.l -[A7], A4
000017BC 3F07 move.w -[A7], D7
000017BE 486E FFF0 pea.l [A6 - 0x10]
000017C2 4EBA 12C8 jsr [PC + 0x12C8 /* 00002A8C */]
000017C6 7000 moveq.l D0, 0x00
000017C8 302E FFF8 move.w D0, [A6 - 0x8]
000017CC 323C 2000 move.w D1, 0x2000 /* ' \0' */
000017D0 8240 or.w D1, D0
000017D2 3D41 FFF8 move.w [A6 - 0x8], D1
000017D6 558F subq.l A7, 2
000017D8 2F0C move.l -[A7], A4
000017DA 3F07 move.w -[A7], D7
000017DC 486E FFF0 pea.l [A6 - 0x10]
000017E0 4EBA 13DA jsr [PC + 0x13DA /* 00002BBC */]
000017E4 4CEE 1080 FFE8 movem.l D7,A4, [A6 - 0x18]
000017EA 4E5E unlink A6
000017EC 4E75 rts
fn000017EE:
000017EE 4E56 FF00 link A6, -0x0100
000017F2 48E7 0118 movem.l -[A7], D7,A3,A4
000017F6 598F subq.l A7, 4
000017F8 2F3C 424E 444C move.l -[A7], 0x424E444C /* 'BNDL' */
000017FE 7000 moveq.l D0, 0x00
00001800 3F00 move.w -[A7], D0
00001802 A9A0 syscall GetResource
00001804 285F movea.l A4, [A7]+
00001806 200C move.l D0, A4
00001808 675C beq +0x5E /* 00001866 */
0000180A 558F subq.l A7, 2
0000180C 2F0C move.l -[A7], A4
0000180E A9A4 syscall HomeResFile
00001810 301F move.w D0, [A7]+
00001812 B06E 000A cmp.w D0, [A6 + 0xA]
00001816 664E bne +0x50 /* 00001866 */
00001818 598F subq.l A7, 4
0000181A 2F0C move.l -[A7], A4
0000181C 4EBA 11DA jsr [PC + 0x11DA /* 000029F8 */]
00001820 2E1F move.l D7, [A7]+
00001822 2054 movea.l A0, [A4]
00001824 43EE FF00 lea.l A1, [A6 - 0x100]
00001828 2007 move.l D0, D7
0000182A A02E syscall BlockMove/BlockMoveData
0000182C 598F subq.l A7, 4
0000182E 2F3C 424E 444C move.l -[A7], 0x424E444C /* 'BNDL' */
00001834 7002 moveq.l D0, 0x02
00001836 3F00 move.w -[A7], D0
00001838 A9A0 syscall GetResource
0000183A 265F movea.l A3, [A7]+
0000183C 200B move.l D0, A3
0000183E 6726 beq +0x28 /* 00001866 */
00001840 598F subq.l A7, 4
00001842 2F0B move.l -[A7], A3
00001844 4EBA 11B2 jsr [PC + 0x11B2 /* 000029F8 */]
00001848 BE9F cmp.l D7, [A7]+
0000184A 661A bne +0x1C /* 00001866 */
0000184C 2053 movea.l A0, [A3]
0000184E 2254 movea.l A1, [A4]
00001850 2007 move.l D0, D7
00001852 A02E syscall BlockMove/BlockMoveData
00001854 41EE FF00 lea.l A0, [A6 - 0x100]
00001858 2253 movea.l A1, [A3]
0000185A 2007 move.l D0, D7
0000185C A02E syscall BlockMove/BlockMoveData
0000185E 2F0C move.l -[A7], A4
00001860 A9AA syscall ChangedResource
00001862 2F0B move.l -[A7], A3
00001864 A9AA syscall ChangedResource
label00001866:
00001866 4CEE 1880 FEF4 movem.l D7,A3,A4, [A6 - 0x10C]
0000186C 4E5E unlink A6
0000186E 4E75 rts
fn00001870:
00001870 4E56 FF00 link A6, -0x0100
00001874 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001878 598F subq.l A7, 4
0000187A 2F3C 524D 494E move.l -[A7], 0x524D494E /* 'RMIN' */
00001880 3F2E 000A move.w -[A7], [A6 + 0xA]
00001884 A9A0 syscall GetResource
00001886 265F movea.l A3, [A7]+
00001888 598F subq.l A7, 4
0000188A 2F0B move.l -[A7], A3
0000188C 4EBA 116A jsr [PC + 0x116A /* 000029F8 */]
00001890 201F move.l D0, [A7]+
00001892 7206 moveq.l D1, 0x06
00001894 4EBA 0F0C jsr [PC + 0xF0C /* 000027A2 */]
00001898 2800 move.l D4, D0
0000189A 7000 moveq.l D0, 0x00
0000189C 1F00 move.b -[A7], D0
0000189E A99B syscall SetResLoad
000018A0 7E00 moveq.l D7, 0x00
000018A2 605A bra +0x5C /* 000018FE */
label000018A4:
000018A4 2053 movea.l A0, [A3]
000018A6 2007 move.l D0, D7
000018A8 D080 add.l D0, D0
000018AA 2200 move.l D1, D0
000018AC D281 add.l D1, D1
000018AE D081 add.l D0, D1
000018B0 2A30 0800 move.l D5, [A0 + D0]
000018B4 2053 movea.l A0, [A3]
000018B6 2007 move.l D0, D7
000018B8 D080 add.l D0, D0
000018BA 2200 move.l D1, D0
000018BC D281 add.l D1, D1
000018BE D081 add.l D0, D1
000018C0 3C30 0804 move.w D6, [A0 + D0 + 0x4]
000018C4 6C22 bge +0x24 /* 000018E8 */
000018C6 486E FF00 pea.l [A6 - 0x100]
000018CA 3F3C 1166 move.w -[A7], 0x1166
000018CE 48C6 ext.l D6
000018D0 2006 move.l D0, D6
000018D2 4480 neg.l D0
000018D4 3F00 move.w -[A7], D0
000018D6 4EBA 1446 jsr [PC + 0x1446 /* 00002D1E */]
000018DA 598F subq.l A7, 4
000018DC 2F05 move.l -[A7], D5
000018DE 486E FF00 pea.l [A6 - 0x100]
000018E2 A820 syscall Get1NamedResource
000018E4 285F movea.l A4, [A7]+
000018E6 600A bra +0xC /* 000018F2 */
label000018E8:
000018E8 598F subq.l A7, 4
000018EA 2F05 move.l -[A7], D5
000018EC 3F06 move.w -[A7], D6
000018EE A81F syscall Get1Resource
000018F0 285F movea.l A4, [A7]+
label000018F2:
000018F2 200C move.l D0, A4
000018F4 6704 beq +0x6 /* 000018FA */
000018F6 2F0C move.l -[A7], A4
000018F8 A9AD syscall RemoveResource/RmveResource
label000018FA:
000018FA 2007 move.l D0, D7
000018FC 5287 addq.l D7, 1
label000018FE:
000018FE B887 cmp.l D4, D7
00001900 6EA2 bgt -0x5C /* 000018A4 */
00001902 7001 moveq.l D0, 0x01
00001904 1F00 move.b -[A7], D0
00001906 A99B syscall SetResLoad
00001908 4CEE 18F0 FEE8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x118]
0000190E 4E5E unlink A6
00001910 4E75 rts
fn00001912:
00001912 4E56 0000 link A6, 0
00001916 2F0C move.l -[A7], A4
00001918 598F subq.l A7, 4
0000191A 2F3C 5657 4346 move.l -[A7], 0x56574346 /* 'VWCF' */
00001920 7001 moveq.l D0, 0x01
00001922 3F00 move.w -[A7], D0
00001924 A80E syscall Get1IndResource/Get1IxResource
00001926 285F movea.l A4, [A7]+
00001928 200C move.l D0, A4
0000192A 6604 bne +0x6 /* 00001930 */
0000192C 7000 moveq.l D0, 0x00
0000192E 6020 bra +0x22 /* 00001950 */
label00001930:
00001930 2054 movea.l A0, [A4]
00001932 701E moveq.l D0, 0x1E
00001934 B050 cmp.w D0, [A0]
00001936 6F12 ble +0x14 /* 0000194A */
00001938 558F subq.l A7, 2
0000193A 2F3C 5657 4143 move.l -[A7], 0x56574143 /* 'VWAC' */
00001940 A80D syscall Count1Resources
00001942 4A5F tst.w [A7]+
00001944 5EC0 sgt D0
00001946 4400 neg.b D0
00001948 6006 bra +0x8 /* 00001950 */
label0000194A:
0000194A 2054 movea.l A0, [A4]
0000194C 1028 001F move.b D0, [A0 + 0x1F]
label00001950:
00001950 286E FFFC movea.l A4, [A6 - 0x4]
00001954 4E5E unlink A6
00001956 4E75 rts
fn00001958:
00001958 4E56 FEA2 link A6, -0x015E
0000195C 48E7 0018 movem.l -[A7], A3,A4
00001960 47EE FEA6 lea.l A3, [A6 - 0x15A]
00001964 49EE FFF0 lea.l A4, [A6 - 0x10]
00001968 426D FC7C clr.w [A5 - 0x384]
0000196C 4A2D FD92 tst.b [A5 - 0x26E]
00001970 671A beq +0x1C /* 0000198C */
00001972 4A2D FD8E tst.b [A5 - 0x272]
00001976 660E bne +0x10 /* 00001986 */
00001978 2F2D FC70 move.l -[A7], [A5 - 0x390]
0000197C 4EBA F274 jsr [PC - 0xD8C /* 00000BF2 */]
00001980 2F00 move.l -[A7], D0
00001982 4EBA 074C jsr [PC + 0x74C /* 000020D0 */]
label00001986:
00001986 7001 moveq.l D0, 0x01
00001988 6000 011A bra +0x11C /* 00001AA4 */
label0000198C:
0000198C 4EBA 03E0 jsr [PC + 0x3E0 /* 00001D6E */]
00001990 4EBA 03D0 jsr [PC + 0x3D0 /* 00001D62 */]
00001994 A853 syscall ShowCursor
00001996 4213 clr.b [A3]
00001998 28BC 5657 5052 move.l [A4], 0x56575052 /* 'VWPR' */
0000199E 297C 5657 4D44 0004 move.l [A4 + 0x4], 0x56574D44 /* 'VWMD' */
000019A6 297C 5657 4330 0008 move.l [A4 + 0x8], 0x56574330 /* 'VWC0' */
000019AE 7038 moveq.l D0, 0x38
000019B0 3F00 move.w -[A7], D0
000019B2 7200 moveq.l D1, 0x00
000019B4 3F01 move.w -[A7], D1
000019B6 201F move.l D0, [A7]+
000019B8 A032 syscall FlushEvents
000019BA 486E FEA2 pea.l [A6 - 0x15E]
000019BE 4878 0FA1 push.l 0xFA1
000019C2 4EBA E69A jsr [PC - 0x1966 /* 0000005E */]
000019C6 2F2E FEA2 move.l -[A7], [A6 - 0x15E]
000019CA 2F0B move.l -[A7], A3
000019CC 7000 moveq.l D0, 0x00
000019CE 2F00 move.l -[A7], D0
000019D0 7203 moveq.l D1, 0x03
000019D2 3F01 move.w -[A7], D1
000019D4 2F0C move.l -[A7], A4
000019D6 2F00 move.l -[A7], D0
000019D8 486E FFA6 pea.l [A6 - 0x5A]
000019DC 3F3C 0FA1 move.w -[A7], 0xFA1
000019E0 2F00 move.l -[A7], D0
000019E2 3F3C 0004 move.w -[A7], 0x4
000019E6 A9EA syscall Pack3
000019E8 4A2E FFA6 tst.b [A6 - 0x5A]
000019EC 504F addq.w A7, 8
000019EE 6606 bne +0x8 /* 000019F6 */
000019F0 7000 moveq.l D0, 0x00
000019F2 6000 00B0 bra +0xB2 /* 00001AA4 */
label000019F6:
000019F6 486E FFAC pea.l [A6 - 0x54]
000019FA 486E FFB0 pea.l [A6 - 0x50]
000019FE 4EBA 02A2 jsr [PC + 0x2A2 /* 00001CA2 */]
00001A02 1B40 FD8E move.b [A5 - 0x272], D0
00001A06 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A0A 700A moveq.l D0, 0x0A
00001A0C 3F00 move.w -[A7], D0
00001A0E 7200 moveq.l D1, 0x00
00001A10 2F01 move.l -[A7], D1
00001A12 4EBA 08EE jsr [PC + 0x8EE /* 00002302 */]
00001A16 4A2D FD8E tst.b [A5 - 0x272]
00001A1A 504F addq.w A7, 8
00001A1C 672A beq +0x2C /* 00001A48 */
00001A1E 558F subq.l A7, 2
00001A20 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A24 486E FFB0 pea.l [A6 - 0x50]
00001A28 3F2E FFAC move.w -[A7], [A6 - 0x54]
00001A2C 4EBA F18E jsr [PC - 0xE72 /* 00000BBC */]
00001A30 2F00 move.l -[A7], D0
00001A32 4EBA 05A8 jsr [PC + 0x5A8 /* 00001FDC */]
00001A36 558F subq.l A7, 2
00001A38 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A3C 4EBA 0828 jsr [PC + 0x828 /* 00002266 */]
00001A40 3B5F FC7C move.w [A5 - 0x384], [A7]+
00001A44 544F addq.w A7, 2
00001A46 6036 bra +0x38 /* 00001A7E */
label00001A48:
00001A48 558F subq.l A7, 2
00001A4A 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A4E 486E FFB0 pea.l [A6 - 0x50]
00001A52 3F2E FFAC move.w -[A7], [A6 - 0x54]
00001A56 4EBA F19A jsr [PC - 0xE66 /* 00000BF2 */]
00001A5A 2F00 move.l -[A7], D0
00001A5C 4EBA 057E jsr [PC + 0x57E /* 00001FDC */]
00001A60 558F subq.l A7, 2
00001A62 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A66 4EBA 07FE jsr [PC + 0x7FE /* 00002266 */]
00001A6A 3B5F FC7C move.w [A5 - 0x384], [A7]+
00001A6E 544F addq.w A7, 2
00001A70 660C bne +0xE /* 00001A7E */
00001A72 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A76 7000 moveq.l D0, 0x00
00001A78 2F00 move.l -[A7], D0
00001A7A 4EBA 0654 jsr [PC + 0x654 /* 000020D0 */]
label00001A7E:
00001A7E 4A6D FC7C tst.w [A5 - 0x384]
00001A82 6714 beq +0x16 /* 00001A98 */
00001A84 302D FC7C move.w D0, [A5 - 0x384]
00001A88 48C0 ext.l D0
00001A8A 2F00 move.l -[A7], D0
00001A8C 486E FFB0 pea.l [A6 - 0x50]
00001A90 4EBA EC54 jsr [PC - 0x13AC /* 000006E6 */]
00001A94 504F addq.w A7, 8
00001A96 600A bra +0xC /* 00001AA2 */
label00001A98:
00001A98 206D FD84 movea.l A0, [A5 - 0x27C]
00001A9C 2050 movea.l A0, [A0]
00001A9E 1B50 FD92 move.b [A5 - 0x26E], [A0]
label00001AA2:
00001AA2 7001 moveq.l D0, 0x01
label00001AA4:
00001AA4 4CEE 1800 FE9A movem.l A3,A4, [A6 - 0x166]
00001AAA 4E5E unlink A6
00001AAC 4E75 rts
fn00001AAE:
00001AAE 4E56 FE94 link A6, -0x016C
00001AB2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001AB6 2C2E 0008 move.l D6, [A6 + 0x8]
00001ABA 266E 000C movea.l A3, [A6 + 0xC]
00001ABE 49EE FE94 lea.l A4, [A6 - 0x16C]
00001AC2 4247 clr.w D7
00001AC4 7000 moveq.l D0, 0x00
00001AC6 2D40 FFF8 move.l [A6 - 0x8], D0
00001ACA 6052 bra +0x54 /* 00001B1E */
label00001ACC:
00001ACC 7000 moveq.l D0, 0x00
00001ACE 2D40 FFA0 move.l [A6 - 0x60], D0
00001AD2 4214 clr.b [A4]
00001AD4 2D4C FFA6 move.l [A6 - 0x5A], A4
00001AD8 3D46 FFAA move.w [A6 - 0x56], D6
00001ADC 3D7C FFFF FFB0 move.w [A6 - 0x50], 0xFFFF
00001AE2 2D6E FFF8 FFC4 move.l [A6 - 0x3C], [A6 - 0x8]
00001AE8 558F subq.l A7, 2
00001AEA 486E FF94 pea.l [A6 - 0x6C]
00001AEE 7000 moveq.l D0, 0x00
00001AF0 1F00 move.b -[A7], D0
00001AF2 4EBA 114A jsr [PC + 0x114A /* 00002C3E */]
00001AF6 3E1F move.w D7, [A7]+
00001AF8 6624 bne +0x26 /* 00001B1E */
00001AFA 486D FDA0 pea.l [A5 - 0x260]
00001AFE 2F0C move.l -[A7], A4
00001B00 4EBA 0072 jsr [PC + 0x72 /* 00001B74 */]
00001B04 2F0B move.l -[A7], A3
00001B06 2F0C move.l -[A7], A4
00001B08 4EBA 006A jsr [PC + 0x6A /* 00001B74 */]
00001B0C 204C movea.l A0, A4
00001B0E 224B movea.l A1, A3
00001B10 7000 moveq.l D0, 0x00
00001B12 1014 move.b D0, [A4]
00001B14 5240 addq.w D0, 1
00001B16 48C0 ext.l D0
00001B18 A02E syscall BlockMove/BlockMoveData
00001B1A 4FEF 0010 lea.l A7, [A7 + 0x10]
label00001B1E:
00001B1E 4A47 tst.w D7
00001B20 67AA beq -0x54 /* 00001ACC */
00001B22 4CEE 18C0 FE84 movem.l D6,D7,A3,A4, [A6 - 0x17C]
00001B28 4E5E unlink A6
00001B2A 4E75 rts
fn00001B2C:
00001B2C 4E56 FFB0 link A6, -0x0050
00001B30 48E7 0108 movem.l -[A7], D7,A4
00001B34 286E 000C movea.l A4, [A6 + 0xC]
00001B38 7000 moveq.l D0, 0x00
00001B3A 2D40 FFBC move.l [A6 - 0x44], D0
00001B3E 2D4C FFC2 move.l [A6 - 0x3E], A4
00001B42 3D6E 000A FFC6 move.w [A6 - 0x3A], [A6 + 0xA]
00001B48 426E FFCC clr.w [A6 - 0x34]
00001B4C 558F subq.l A7, 2
00001B4E 486E FFB0 pea.l [A6 - 0x50]
00001B52 7000 moveq.l D0, 0x00
00001B54 1F00 move.b -[A7], D0
00001B56 4EBA 0EAE jsr [PC + 0xEAE /* 00002A06 */]
00001B5A 3E1F move.w D7, [A7]+
00001B5C 660C bne +0xE /* 00001B6A */
00001B5E 486D FDA4 pea.l [A5 - 0x25C]
00001B62 2F0C move.l -[A7], A4
00001B64 4EBA 000E jsr [PC + 0xE /* 00001B74 */]
00001B68 504F addq.w A7, 8
label00001B6A:
00001B6A 4CEE 1080 FFA8 movem.l D7,A4, [A6 - 0x58]
00001B70 4E5E unlink A6
00001B72 4E75 rts
fn00001B74:
00001B74 4E56 0000 link A6, 0
00001B78 48E7 0018 movem.l -[A7], A3,A4
00001B7C 266E 000C movea.l A3, [A6 + 0xC]
00001B80 286E 0008 movea.l A4, [A6 + 0x8]
00001B84 204B movea.l A0, A3
00001B86 5288 addq.l A0, 1
00001B88 1014 move.b D0, [A4]
00001B8A 4880 ext.w D0
00001B8C 5240 addq.w D0, 1
00001B8E 43F4 0000 lea.l A1, [A4 + D0.w]
00001B92 1013 move.b D0, [A3]
00001B94 4880 ext.w D0
00001B96 48C0 ext.l D0
00001B98 A02E syscall BlockMove/BlockMoveData
00001B9A 1013 move.b D0, [A3]
00001B9C D114 add.b [A4], D0
00001B9E 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001BA4 4E5E unlink A6
00001BA6 4E75 rts
fn00001BA8:
00001BA8 4E56 FF86 link A6, -0x007A
00001BAC 48E7 0108 movem.l -[A7], D7,A4
00001BB0 286E 000C movea.l A4, [A6 + 0xC]
00001BB4 2E2E 0008 move.l D7, [A6 + 0x8]
00001BB8 4214 clr.b [A4]
00001BBA 7000 moveq.l D0, 0x00
00001BBC 2D40 FF92 move.l [A6 - 0x6E], D0
00001BC0 2D40 FF98 move.l [A6 - 0x68], D0
00001BC4 3D47 FF9C move.w [A6 - 0x64], D7
00001BC8 426E FFA2 clr.w [A6 - 0x5E]
00001BCC 558F subq.l A7, 2
00001BCE 486E FF86 pea.l [A6 - 0x7A]
00001BD2 7000 moveq.l D0, 0x00
00001BD4 1F00 move.b -[A7], D0
00001BD6 4EBA 107C jsr [PC + 0x107C /* 00002C54 */]
00001BDA 7000 moveq.l D0, 0x00
00001BDC 302E FFC6 move.w D0, [A6 - 0x3A]
00001BE0 0C80 0000 D2D7 cmpi.l D0, 0xD2D7
00001BE6 544F addq.w A7, 2
00001BE8 660C bne +0xE /* 00001BF6 */
00001BEA 2F0C move.l -[A7], A4
00001BEC 2F07 move.l -[A7], D7
00001BEE 4EBA FF3C jsr [PC - 0xC4 /* 00001B2C */]
00001BF2 504F addq.w A7, 8
00001BF4 600A bra +0xC /* 00001C00 */
label00001BF6:
00001BF6 2F0C move.l -[A7], A4
00001BF8 2F07 move.l -[A7], D7
00001BFA 4EBA FEB2 jsr [PC - 0x14E /* 00001AAE */]
00001BFE 504F addq.w A7, 8
label00001C00:
00001C00 4CEE 1080 FF7E movem.l D7,A4, [A6 - 0x82]
00001C06 4E5E unlink A6
00001C08 4E75 rts
fn00001C0A:
00001C0A 4E56 0000 link A6, 0
00001C0E 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00001C12 1A2E 000F move.b D5, [A6 + 0xF]
00001C16 286E 0008 movea.l A4, [A6 + 0x8]
00001C1A 1014 move.b D0, [A4]
00001C1C 4880 ext.w D0
00001C1E 3C00 move.w D6, D0
00001C20 524C addq.w A4, 1
00001C22 3E06 move.w D7, D6
00001C24 5347 subq.w D7, 1
00001C26 4A47 tst.w D7
00001C28 6D0E blt +0x10 /* 00001C38 */
label00001C2A:
00001C2A BA34 7000 cmp.b D5, [A4 + D7.w]
00001C2E 6604 bne +0x6 /* 00001C34 */
00001C30 3007 move.w D0, D7
00001C32 6006 bra +0x8 /* 00001C3A */
label00001C34:
00001C34 51CF FFF4 dbf D7, -0xE /* 00001C2A */
label00001C38:
00001C38 70FF moveq.l D0, 0xFFFFFFFF
label00001C3A:
00001C3A 4CEE 10E0 FFF0 movem.l D5,D6,D7,A4, [A6 - 0x10]
00001C40 4E5E unlink A6
00001C42 4E75 rts
fn00001C44:
00001C44 4E56 0000 link A6, 0
00001C48 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001C4C 266E 000C movea.l A3, [A6 + 0xC]
00001C50 286E 0008 movea.l A4, [A6 + 0x8]
00001C54 703A moveq.l D0, 0x3A
00001C56 2F00 move.l -[A7], D0
00001C58 2F0C move.l -[A7], A4
00001C5A 4EBA FFAE jsr [PC - 0x52 /* 00001C0A */]
00001C5E 3E00 move.w D7, D0
00001C60 504F addq.w A7, 8
00001C62 6C10 bge +0x12 /* 00001C74 */
00001C64 204C movea.l A0, A4
00001C66 224B movea.l A1, A3
00001C68 1014 move.b D0, [A4]
00001C6A 4880 ext.w D0
00001C6C 5240 addq.w D0, 1
00001C6E 48C0 ext.l D0
00001C70 A02E syscall BlockMove/BlockMoveData
00001C72 6024 bra +0x26 /* 00001C98 */
label00001C74:
00001C74 5247 addq.w D7, 1
00001C76 200C move.l D0, A4
00001C78 5280 addq.l D0, 1
00001C7A 48C7 ext.l D7
00001C7C D087 add.l D0, D7
00001C7E 2040 movea.l A0, D0
00001C80 200B move.l D0, A3
00001C82 5280 addq.l D0, 1
00001C84 2240 movea.l A1, D0
00001C86 1014 move.b D0, [A4]
00001C88 4880 ext.w D0
00001C8A 48C0 ext.l D0
00001C8C 48C7 ext.l D7
00001C8E 2C00 move.l D6, D0
00001C90 9C87 sub.l D6, D7
00001C92 2006 move.l D0, D6
00001C94 A02E syscall BlockMove/BlockMoveData
00001C96 1686 move.b [A3], D6
label00001C98:
00001C98 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00001C9E 4E5E unlink A6
00001CA0 4E75 rts
fn00001CA2:
00001CA2 4E56 FDEE link A6, -0x0212
00001CA6 48E7 0118 movem.l -[A7], D7,A3,A4
00001CAA 47EE FDFE lea.l A3, [A6 - 0x202]
00001CAE 286E 0008 movea.l A4, [A6 + 0x8]
00001CB2 2D7C 3030 3030 FDEE move.l [A6 - 0x212], 0x30303030 /* '0000' */
00001CBA 558F subq.l A7, 2
00001CBC 2F0C move.l -[A7], A4
00001CBE 206E 000C movea.l A0, [A6 + 0xC]
00001CC2 3F10 move.w -[A7], [A0]
00001CC4 486E FDEE pea.l [A6 - 0x212]
00001CC8 4EBA 0DC2 jsr [PC + 0xDC2 /* 00002A8C */]
00001CCC 3E1F move.w D7, [A7]+
00001CCE 6748 beq +0x4A /* 00001D18 */
00001CD0 2F0B move.l -[A7], A3
00001CD2 2F0C move.l -[A7], A4
00001CD4 4EBA FF6E jsr [PC - 0x92 /* 00001C44 */]
00001CD8 558F subq.l A7, 2
00001CDA 486E FF00 pea.l [A6 - 0x100]
00001CDE 486E FEFE pea.l [A6 - 0x102]
00001CE2 4EBA 0DDE jsr [PC + 0xDDE /* 00002AC2 */]
00001CE6 3E1F move.w D7, [A7]+
00001CE8 558F subq.l A7, 2
00001CEA 2F0B move.l -[A7], A3
00001CEC 3F2E FEFE move.w -[A7], [A6 - 0x102]
00001CF0 486E FDEE pea.l [A6 - 0x212]
00001CF4 4EBA 0D96 jsr [PC + 0xD96 /* 00002A8C */]
00001CF8 3E1F move.w D7, [A7]+
00001CFA 504F addq.w A7, 8
00001CFC 6704 beq +0x6 /* 00001D02 */
00001CFE 7001 moveq.l D0, 0x01
00001D00 6056 bra +0x58 /* 00001D58 */
label00001D02:
00001D02 204B movea.l A0, A3
00001D04 224C movea.l A1, A4
00001D06 203C 0000 0100 move.l D0, 0x100
00001D0C A02E syscall BlockMove/BlockMoveData
00001D0E 206E 000C movea.l A0, [A6 + 0xC]
00001D12 30AE FEFE move.w [A0], [A6 - 0x102]
00001D16 6008 bra +0xA /* 00001D20 */
label00001D18:
00001D18 4A47 tst.w D7
00001D1A 6704 beq +0x6 /* 00001D20 */
00001D1C 7001 moveq.l D0, 0x01
00001D1E 6038 bra +0x3A /* 00001D58 */
label00001D20:
00001D20 0CAE 5657 4D44 FDEE cmpi.l [A6 - 0x212], 0x56574D44 /* 'VWMD' */
00001D28 6714 beq +0x16 /* 00001D3E */
00001D2A 0CAE 5657 5052 FDEE cmpi.l [A6 - 0x212], 0x56575052 /* 'VWPR' */
00001D32 670A beq +0xC /* 00001D3E */
00001D34 0CAE 3030 3030 FDEE cmpi.l [A6 - 0x212], 0x30303030 /* '0000' */
00001D3C 6604 bne +0x6 /* 00001D42 */
label00001D3E:
00001D3E 7001 moveq.l D0, 0x01
00001D40 6016 bra +0x18 /* 00001D58 */
label00001D42:
00001D42 4A2D FC7E tst.b [A5 - 0x382]
00001D46 6604 bne +0x6 /* 00001D4C */
00001D48 7001 moveq.l D0, 0x01
00001D4A 600C bra +0xE /* 00001D58 */
label00001D4C:
00001D4C 0CAE 5657 4330 FDEE cmpi.l [A6 - 0x212], 0x56574330 /* 'VWC0' */
00001D54 56C0 sne D0
00001D56 4400 neg.b D0
label00001D58:
00001D58 4CEE 1880 FDE2 movem.l D7,A3,A4, [A6 - 0x21E]
00001D5E 4E5E unlink A6
00001D60 4E75 rts
fn00001D62:
00001D62 4E56 0000 link A6, 0
00001D66 4EBA 0006 jsr [PC + 0x6 /* 00001D6E */]
00001D6A 4E5E unlink A6
00001D6C 4E75 rts
fn00001D6E:
00001D6E 4E56 0000 link A6, 0
00001D72 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001D76 7000 moveq.l D0, 0x00
00001D78 2F00 move.l -[A7], D0
00001D7A 4EBA 0320 jsr [PC + 0x320 /* 0000209C */]
00001D7E 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001D82 700A moveq.l D0, 0x0A
00001D84 3F00 move.w -[A7], D0
00001D86 7201 moveq.l D1, 0x01
00001D88 2F01 move.l -[A7], D1
00001D8A 4EBA 0576 jsr [PC + 0x576 /* 00002302 */]
00001D8E 4E5E unlink A6
00001D90 4E75 rts
fn00001D92:
00001D92 206F 0004 movea.l A0, [A7 + 0x4]
00001D96 2050 movea.l A0, [A0]
00001D98 2050 movea.l A0, [A0]
00001D9A 4ED0 jmp [A0]
fn00001D9C:
00001D9C 4E56 0000 link A6, 0
00001DA0 48E7 0018 movem.l -[A7], A3,A4
00001DA4 266E 0008 movea.l A3, [A6 + 0x8]
00001DA8 200B move.l D0, A3
00001DAA 6604 bne +0x6 /* 00001DB0 */
00001DAC 7000 moveq.l D0, 0x00
00001DAE 602A bra +0x2C /* 00001DDA */
label00001DB0:
00001DB0 2053 movea.l A0, [A3]
00001DB2 5268 0006 addq.w [A0 + 0x6], 1
00001DB6 7010 moveq.l D0, 0x10
00001DB8 A122 syscall NewHandle, flags=1
00001DBA 2848 movea.l A4, A0
00001DBC 200C move.l D0, A4
00001DBE 6718 beq +0x1A /* 00001DD8 */
00001DC0 2054 movea.l A0, [A4]
00001DC2 214B 0004 move.l [A0 + 0x4], A3
00001DC6 2054 movea.l A0, [A4]
00001DC8 7000 moveq.l D0, 0x00
00001DCA 2080 move.l [A0], D0
00001DCC 2054 movea.l A0, [A4]
00001DCE 2140 0008 move.l [A0 + 0x8], D0
00001DD2 2054 movea.l A0, [A4]
00001DD4 2140 000C move.l [A0 + 0xC], D0
label00001DD8:
00001DD8 200C move.l D0, A4
label00001DDA:
00001DDA 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001DE0 4E5E unlink A6
00001DE2 4E75 rts
fn00001DE4:
00001DE4 4E56 0000 link A6, 0
00001DE8 2F0C move.l -[A7], A4
00001DEA 286E 0008 movea.l A4, [A6 + 0x8]
00001DEE 200C move.l D0, A4
00001DF0 6706 beq +0x8 /* 00001DF8 */
00001DF2 2054 movea.l A0, [A4]
00001DF4 5368 0006 subq.w [A0 + 0x6], 1
label00001DF8:
00001DF8 286E FFFC movea.l A4, [A6 - 0x4]
00001DFC 4E5E unlink A6
00001DFE 4E75 rts
fn00001E00:
00001E00 4E56 0000 link A6, 0
00001E04 48E7 0018 movem.l -[A7], A3,A4
00001E08 266E 0008 movea.l A3, [A6 + 0x8]
00001E0C 2053 movea.l A0, [A3]
00001E0E 2868 0004 movea.l A4, [A0 + 0x4]
00001E12 200C move.l D0, A4
00001E14 6714 beq +0x16 /* 00001E2A */
00001E16 204C movea.l A0, A4
00001E18 A064 syscall MoveHHi
00001E1A 204C movea.l A0, A4
00001E1C A029 syscall HLock
00001E1E 598F subq.l A7, 4
00001E20 2F14 move.l -[A7], [A4]
00001E22 4EBA 1160 jsr [PC + 0x1160 /* 00002F84 */]
00001E26 2053 movea.l A0, [A3]
00001E28 209F move.l [A0], [A7]+
label00001E2A:
00001E2A 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001E30 4E5E unlink A6
00001E32 4E75 rts
fn00001E34:
00001E34 4E56 FFFC link A6, -0x0004
00001E38 48E7 0018 movem.l -[A7], A3,A4
00001E3C 598F subq.l A7, 4
00001E3E 2F3C 4F56 5744 move.l -[A7], 0x4F565744 /* 'OVWD' */
00001E44 3F3C 00C8 move.w -[A7], 0xC8
00001E48 A9A0 syscall GetResource
00001E4A 265F movea.l A3, [A7]+
00001E4C 200B move.l D0, A3
00001E4E 6604 bne +0x6 /* 00001E54 */
00001E50 7000 moveq.l D0, 0x00
00001E52 604A bra +0x4C /* 00001E9E */
label00001E54:
00001E54 2853 movea.l A4, [A3]
00001E56 0C6C 8000 0008 cmpi.w [A4 + 0x8], 0x8000
00001E5C 6D08 blt +0xA /* 00001E66 */
00001E5E 0C6C 800A 0008 cmpi.w [A4 + 0x8], 0x800A
00001E64 6F04 ble +0x6 /* 00001E6A */
label00001E66:
00001E66 7000 moveq.l D0, 0x00
00001E68 6034 bra +0x36 /* 00001E9E */
label00001E6A:
00001E6A 598F subq.l A7, 4
00001E6C 2F3C 4F56 5744 move.l -[A7], 0x4F565744 /* 'OVWD' */
00001E72 7066 moveq.l D0, 0x66
00001E74 3F00 move.w -[A7], D0
00001E76 A9A0 syscall GetResource
00001E78 4EBA FF22 jsr [PC - 0xDE /* 00001D9C */]
00001E7C 2D40 FFFC move.l [A6 - 0x4], D0
00001E80 6604 bne +0x6 /* 00001E86 */
00001E82 7000 moveq.l D0, 0x00
00001E84 6018 bra +0x1A /* 00001E9E */
label00001E86:
00001E86 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001E8A 4EBA FF74 jsr [PC - 0x8C /* 00001E00 */]
00001E8E 2853 movea.l A4, [A3]
00001E90 4A94 tst.l [A4]
00001E92 6606 bne +0x8 /* 00001E9A */
00001E94 7000 moveq.l D0, 0x00
00001E96 2940 0014 move.l [A4 + 0x14], D0
label00001E9A:
00001E9A 202E FFFC move.l D0, [A6 - 0x4]
label00001E9E:
00001E9E 4CEE 1800 FFF4 movem.l A3,A4, [A6 - 0xC]
00001EA4 4E5E unlink A6
00001EA6 4E75 rts
fn00001EA8:
00001EA8 4E56 0000 link A6, 0
00001EAC 48E7 0018 movem.l -[A7], A3,A4
00001EB0 598F subq.l A7, 4
00001EB2 2F3C 4F56 5744 move.l -[A7], 0x4F565744 /* 'OVWD' */
00001EB8 3F3C 00C8 move.w -[A7], 0xC8
00001EBC A9A0 syscall GetResource
00001EBE 265F movea.l A3, [A7]+
00001EC0 200B move.l D0, A3
00001EC2 6720 beq +0x22 /* 00001EE4 */
00001EC4 2853 movea.l A4, [A3]
00001EC6 266C 0014 movea.l A3, [A4 + 0x14]
00001ECA 7000 moveq.l D0, 0x00
00001ECC 2940 0014 move.l [A4 + 0x14], D0
00001ED0 2880 move.l [A4], D0
00001ED2 220B move.l D1, A3
00001ED4 6704 beq +0x6 /* 00001EDA */
00001ED6 2F0B move.l -[A7], A3
00001ED8 A8D9 syscall DisposRgn/DisposeRgn
label00001EDA:
00001EDA 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001EDE 4EBA FF04 jsr [PC - 0xFC /* 00001DE4 */]
00001EE2 584F addq.w A7, 4
label00001EE4:
00001EE4 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001EEA 4E5E unlink A6
00001EEC 4E75 rts
export_4:
00001EEE 4E56 0000 link A6, 0
00001EF2 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001EF6 2A2E 000C move.l D5, [A6 + 0xC]
00001EFA 266E 0008 movea.l A3, [A6 + 0x8]
00001EFE 4206 clr.b D6
00001F00 4204 clr.b D4
00001F02 7E01 moveq.l D7, 0x01
00001F04 4EBA FF2E jsr [PC - 0xD2 /* 00001E34 */]
00001F08 2840 movea.l A4, D0
00001F0A 200C move.l D0, A4
00001F0C 660C bne +0xE /* 00001F1A */
00001F0E 36BC 0064 move.w [A3], 0x64 /* 'd' */
00001F12 7000 moveq.l D0, 0x00
00001F14 2D40 0014 move.l [A6 + 0x14], D0
00001F18 606E bra +0x70 /* 00001F88 */
label00001F1A:
00001F1A 0805 0000 btst.b D5, 0x0
00001F1E 6702 beq +0x4 /* 00001F22 */
00001F20 7C01 moveq.l D6, 0x01
label00001F22:
00001F22 7002 moveq.l D0, 0x02
00001F24 C085 and.l D0, D5
00001F26 6702 beq +0x4 /* 00001F2A */
00001F28 4207 clr.b D7
label00001F2A:
00001F2A 598F subq.l A7, 4
00001F2C 7000 moveq.l D0, 0x00
00001F2E 2F00 move.l -[A7], D0
00001F30 2F0C move.l -[A7], A4
00001F32 4EBA FE5E jsr [PC - 0x1A2 /* 00001D92 */]
00001F36 4A9F tst.l [A7]+
00001F38 663A bne +0x3C /* 00001F74 */
00001F3A 7001 moveq.l D0, 0x01
00001F3C 1F00 move.b -[A7], D0
00001F3E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001F42 1F00 move.b -[A7], D0
00001F44 1F06 move.b -[A7], D6
00001F46 1F00 move.b -[A7], D0
00001F48 1F07 move.b -[A7], D7
00001F4A 1F04 move.b -[A7], D4
00001F4C 4878 0280 push.l 0x280
00001F50 2F0C move.l -[A7], A4
00001F52 4EBA FE3E jsr [PC - 0x1C2 /* 00001D92 */]
00001F56 558F subq.l A7, 2
00001F58 2F0C move.l -[A7], A4
00001F5A 4EBA 030A jsr [PC + 0x30A /* 00002266 */]
00001F5E 369F move.w [A3], [A7]+
00001F60 6722 beq +0x24 /* 00001F84 */
00001F62 2F0C move.l -[A7], A4
00001F64 7000 moveq.l D0, 0x00
00001F66 2F00 move.l -[A7], D0
00001F68 4EBA 002E jsr [PC + 0x2E /* 00001F98 */]
00001F6C 7000 moveq.l D0, 0x00
00001F6E 2D40 0014 move.l [A6 + 0x14], D0
00001F72 6014 bra +0x16 /* 00001F88 */
label00001F74:
00001F74 36BC FFFF move.w [A3], 0xFFFF
00001F78 204C movea.l A0, A4
00001F7A A023 syscall DisposHandle/DisposeHandle
00001F7C 7000 moveq.l D0, 0x00
00001F7E 2D40 0014 move.l [A6 + 0x14], D0
00001F82 6004 bra +0x6 /* 00001F88 */
label00001F84:
00001F84 2D4C 0014 move.l [A6 + 0x14], A4
label00001F88:
00001F88 4CEE 18F0 FFE8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x18]
00001F8E 4E5E unlink A6
00001F90 205F movea.l A0, [A7]+
00001F92 4FEF 000C lea.l A7, [A7 + 0xC]
00001F96 4ED0 jmp [A0]
export_5:
fn00001F98:
00001F98 4E56 0000 link A6, 0
00001F9C 48E7 0018 movem.l -[A7], A3,A4
00001FA0 286E 000C movea.l A4, [A6 + 0xC]
00001FA4 200C move.l D0, A4
00001FA6 6726 beq +0x28 /* 00001FCE */
00001FA8 7002 moveq.l D0, 0x02
00001FAA C0AE 0008 and.l D0, [A6 + 0x8]
00001FAE 6706 beq +0x8 /* 00001FB6 */
00001FB0 2F0C move.l -[A7], A4
00001FB2 4EBA 0272 jsr [PC + 0x272 /* 00002226 */]
label00001FB6:
00001FB6 2054 movea.l A0, [A4]
00001FB8 2668 0004 movea.l A3, [A0 + 0x4]
00001FBC 4878 0100 push.l 0x100
00001FC0 2F0C move.l -[A7], A4
00001FC2 4EBA FDCE jsr [PC - 0x232 /* 00001D92 */]
00001FC6 2F0B move.l -[A7], A3
00001FC8 4EBA FEDE jsr [PC - 0x122 /* 00001EA8 */]
00001FCC 584F addq.w A7, 4
label00001FCE:
00001FCE 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001FD4 4E5E unlink A6
00001FD6 205F movea.l A0, [A7]+
00001FD8 504F addq.w A7, 8
00001FDA 4ED0 jmp [A0]
fn00001FDC:
00001FDC 4E56 0000 link A6, 0
00001FE0 48E7 0108 movem.l -[A7], D7,A4
00001FE4 286E 0012 movea.l A4, [A6 + 0x12]
00001FE8 598F subq.l A7, 4
00001FEA 2F2E 000E move.l -[A7], [A6 + 0xE]
00001FEE 3F2E 000C move.w -[A7], [A6 + 0xC]
00001FF2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001FF6 4878 0780 push.l 0x780
00001FFA 2F0C move.l -[A7], A4
00001FFC 4EBA FD94 jsr [PC - 0x26C /* 00001D92 */]
00002000 2E1F move.l D7, [A7]+
00002002 6606 bne +0x8 /* 0000200A */
00002004 422E 0016 clr.b [A6 + 0x16]
00002008 6020 bra +0x22 /* 0000202A */
label0000200A:
0000200A 4A87 tst.l D7
0000200C 6F16 ble +0x18 /* 00002024 */
0000200E 2F07 move.l -[A7], D7
00002010 7000 moveq.l D0, 0x00
00002012 2F00 move.l -[A7], D0
00002014 4878 0D80 push.l 0xD80
00002018 2F0C move.l -[A7], A4
0000201A 4EBA FD76 jsr [PC - 0x28A /* 00001D92 */]
0000201E 422E 0016 clr.b [A6 + 0x16]
00002022 6006 bra +0x8 /* 0000202A */
label00002024:
00002024 1D7C 0001 0016 move.b [A6 + 0x16], 0x1
label0000202A:
0000202A 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
00002030 4E5E unlink A6
00002032 205F movea.l A0, [A7]+
00002034 4FEF 000E lea.l A7, [A7 + 0xE]
00002038 4ED0 jmp [A0]
fn0000203A:
0000203A 4E56 0000 link A6, 0
0000203E 598F subq.l A7, 4
00002040 2F3C 5657 4D44 move.l -[A7], 0x56574D44 /* 'VWMD' */
00002046 302E 000C move.w D0, [A6 + 0xC]
0000204A 48C0 ext.l D0
0000204C 2F00 move.l -[A7], D0
0000204E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002052 4878 0680 push.l 0x680
00002056 2F2E 000E move.l -[A7], [A6 + 0xE]
0000205A 4EBA FD36 jsr [PC - 0x2CA /* 00001D92 */]
0000205E 4A9F tst.l [A7]+
00002060 56C0 sne D0
00002062 0240 0001 andi.w D0, 0x1
00002066 48C0 ext.l D0
00002068 1D40 0012 move.b [A6 + 0x12], D0
0000206C 4E5E unlink A6
0000206E 205F movea.l A0, [A7]+
00002070 4FEF 000A lea.l A7, [A7 + 0xA]
00002074 4ED0 jmp [A0]
fn00002076:
00002076 4E56 0000 link A6, 0
0000207A 598F subq.l A7, 4
0000207C 7000 moveq.l D0, 0x00
0000207E 2F00 move.l -[A7], D0
00002080 7215 moveq.l D1, 0x15
00002082 2F01 move.l -[A7], D1
00002084 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002088 4878 0C80 push.l 0xC80
0000208C 2F2E 000C move.l -[A7], [A6 + 0xC]
00002090 4EBA FD00 jsr [PC - 0x300 /* 00001D92 */]
00002094 4E5E unlink A6
00002096 205F movea.l A0, [A7]+
00002098 504F addq.w A7, 8
0000209A 4ED0 jmp [A0]
fn0000209C:
0000209C 4E56 0000 link A6, 0
000020A0 48E7 0300 movem.l -[A7], D6,D7
000020A4 2C2E 0008 move.l D6, [A6 + 0x8]
000020A8 7EFC moveq.l D7, 0xFFFFFFFC
000020AA 0806 0000 btst.b D6, 0x0
000020AE 6702 beq +0x4 /* 000020B2 */
000020B0 7E00 moveq.l D7, 0x00
label000020B2:
000020B2 2F07 move.l -[A7], D7
000020B4 2F06 move.l -[A7], D6
000020B6 4878 0D80 push.l 0xD80
000020BA 2F2E 000C move.l -[A7], [A6 + 0xC]
000020BE 4EBA FCD2 jsr [PC - 0x32E /* 00001D92 */]
000020C2 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
000020C8 4E5E unlink A6
000020CA 205F movea.l A0, [A7]+
000020CC 504F addq.w A7, 8
000020CE 4ED0 jmp [A0]
fn000020D0:
000020D0 4E56 0000 link A6, 0
000020D4 70FC moveq.l D0, 0xFFFFFFFC
000020D6 2F00 move.l -[A7], D0
000020D8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000020DC 4878 0880 push.l 0x880
000020E0 2F2E 000C move.l -[A7], [A6 + 0xC]
000020E4 4EBA FCAC jsr [PC - 0x354 /* 00001D92 */]
000020E8 4E5E unlink A6
000020EA 205F movea.l A0, [A7]+
000020EC 504F addq.w A7, 8
000020EE 4ED0 jmp [A0]
fn000020F0:
000020F0 4E56 0000 link A6, 0
000020F4 70FC moveq.l D0, 0xFFFFFFFC
000020F6 2F00 move.l -[A7], D0
000020F8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000020FC 4878 0980 push.l 0x980
00002100 2F2E 000C move.l -[A7], [A6 + 0xC]
00002104 4EBA FC8C jsr [PC - 0x374 /* 00001D92 */]
00002108 4E5E unlink A6
0000210A 205F movea.l A0, [A7]+
0000210C 504F addq.w A7, 8
0000210E 4ED0 jmp [A0]
fn00002110:
00002110 4E56 0000 link A6, 0
00002114 598F subq.l A7, 4
00002116 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000211A 70FC moveq.l D0, 0xFFFFFFFC
0000211C 2F00 move.l -[A7], D0
0000211E 7220 moveq.l D1, 0x20
00002120 2F01 move.l -[A7], D1
00002122 4EBA 00B4 jsr [PC + 0xB4 /* 000021D8 */]
00002126 201F move.l D0, [A7]+
00002128 1D40 000C move.b [A6 + 0xC], D0
0000212C 4E5E unlink A6
0000212E 2E9F move.l [A7], [A7]+
00002130 4E75 rts
fn00002132:
00002132 4E56 0000 link A6, 0
00002136 2F2E 000A move.l -[A7], [A6 + 0xA]
0000213A 70FC moveq.l D0, 0xFFFFFFFC
0000213C 2F00 move.l -[A7], D0
0000213E 7207 moveq.l D1, 0x07
00002140 2F01 move.l -[A7], D1
00002142 7400 moveq.l D2, 0x00
00002144 142E 0008 move.b D2, [A6 + 0x8]
00002148 2F02 move.l -[A7], D2
0000214A 4EBA 00B4 jsr [PC + 0xB4 /* 00002200 */]
0000214E 4E5E unlink A6
00002150 205F movea.l A0, [A7]+
00002152 5C4F addq.w A7, 6
00002154 4ED0 jmp [A0]
fn00002156:
00002156 4E56 0000 link A6, 0
0000215A 598F subq.l A7, 4
0000215C 70FC moveq.l D0, 0xFFFFFFFC
0000215E 2F00 move.l -[A7], D0
00002160 7216 moveq.l D1, 0x16
00002162 2F01 move.l -[A7], D1
00002164 7000 moveq.l D0, 0x00
00002166 2F00 move.l -[A7], D0
00002168 4878 0C80 push.l 0xC80
0000216C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002170 4EBA FC20 jsr [PC - 0x3E0 /* 00001D92 */]
00002174 201F move.l D0, [A7]+
00002176 1D40 000C move.b [A6 + 0xC], D0
0000217A 4E5E unlink A6
0000217C 2E9F move.l [A7], [A7]+
0000217E 4E75 rts
export_6:
00002180 4E56 0000 link A6, 0
00002184 48E7 0018 movem.l -[A7], A3,A4
00002188 266E 0014 movea.l A3, [A6 + 0x14]
0000218C 598F subq.l A7, 4
0000218E 2F0B move.l -[A7], A3
00002190 7000 moveq.l D0, 0x00
00002192 2F00 move.l -[A7], D0
00002194 7203 moveq.l D1, 0x03
00002196 2F01 move.l -[A7], D1
00002198 4EBA 003E jsr [PC + 0x3E /* 000021D8 */]
0000219C 206E 0010 movea.l A0, [A6 + 0x10]
000021A0 209F move.l [A0], [A7]+
000021A2 598F subq.l A7, 4
000021A4 2F0B move.l -[A7], A3
000021A6 7000 moveq.l D0, 0x00
000021A8 2F00 move.l -[A7], D0
000021AA 7208 moveq.l D1, 0x08
000021AC 2F01 move.l -[A7], D1
000021AE 4EBA 0028 jsr [PC + 0x28 /* 000021D8 */]
000021B2 285F movea.l A4, [A7]+
000021B4 2054 movea.l A0, [A4]
000021B6 226E 000C movea.l A1, [A6 + 0xC]
000021BA 22D8 move.l [A1]+, [A0]+
000021BC 22D8 move.l [A1]+, [A0]+
000021BE 204C movea.l A0, A4
000021C0 A023 syscall DisposHandle/DisposeHandle
000021C2 1D7C 0001 0018 move.b [A6 + 0x18], 0x1
000021C8 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000021CE 4E5E unlink A6
000021D0 205F movea.l A0, [A7]+
000021D2 4FEF 0010 lea.l A7, [A7 + 0x10]
000021D6 4ED0 jmp [A0]
export_7:
fn000021D8:
000021D8 4E56 0000 link A6, 0
000021DC 598F subq.l A7, 4
000021DE 2F2E 000C move.l -[A7], [A6 + 0xC]
000021E2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000021E6 4878 0A80 push.l 0xA80
000021EA 2F2E 0010 move.l -[A7], [A6 + 0x10]
000021EE 4EBA FBA2 jsr [PC - 0x45E /* 00001D92 */]
000021F2 2D5F 0014 move.l [A6 + 0x14], [A7]+
000021F6 4E5E unlink A6
000021F8 205F movea.l A0, [A7]+
000021FA 4FEF 000C lea.l A7, [A7 + 0xC]
000021FE 4ED0 jmp [A0]
fn00002200:
00002200 4E56 0000 link A6, 0
00002204 2F2E 0010 move.l -[A7], [A6 + 0x10]
00002208 2F2E 000C move.l -[A7], [A6 + 0xC]
0000220C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002210 4878 0B80 push.l 0xB80
00002214 2F2E 0014 move.l -[A7], [A6 + 0x14]
00002218 4EBA FB78 jsr [PC - 0x488 /* 00001D92 */]
0000221C 4E5E unlink A6
0000221E 205F movea.l A0, [A7]+
00002220 4FEF 0010 lea.l A7, [A7 + 0x10]
00002224 4ED0 jmp [A0]
fn00002226:
00002226 4E56 0000 link A6, 0
0000222A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000222E 7000 moveq.l D0, 0x00
00002230 2F00 move.l -[A7], D0
00002232 7206 moveq.l D1, 0x06
00002234 2F01 move.l -[A7], D1
00002236 2F00 move.l -[A7], D0
00002238 4EBA FFC6 jsr [PC - 0x3A /* 00002200 */]
0000223C 4E5E unlink A6
0000223E 2E9F move.l [A7], [A7]+
00002240 4E75 rts
export_8:
fn00002242:
00002242 4E56 0000 link A6, 0
00002246 2F2E 000A move.l -[A7], [A6 + 0xA]
0000224A 70FC moveq.l D0, 0xFFFFFFFC
0000224C 2F00 move.l -[A7], D0
0000224E 7205 moveq.l D1, 0x05
00002250 2F01 move.l -[A7], D1
00002252 7400 moveq.l D2, 0x00
00002254 142E 0008 move.b D2, [A6 + 0x8]
00002258 2F02 move.l -[A7], D2
0000225A 4EBA FFA4 jsr [PC - 0x5C /* 00002200 */]
0000225E 4E5E unlink A6
00002260 205F movea.l A0, [A7]+
00002262 5C4F addq.w A7, 6
00002264 4ED0 jmp [A0]
fn00002266:
00002266 4E56 0000 link A6, 0
0000226A 558F subq.l A7, 2
0000226C 4878 0E80 push.l 0xE80
00002270 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002274 4EBA FB1C jsr [PC - 0x4E4 /* 00001D92 */]
00002278 3D5F 000C move.w [A6 + 0xC], [A7]+
0000227C 4E5E unlink A6
0000227E 2E9F move.l [A7], [A7]+
00002280 4E75 rts
fn00002282:
00002282 4E56 0000 link A6, 0
00002286 2F2E 000A move.l -[A7], [A6 + 0xA]
0000228A 7000 moveq.l D0, 0x00
0000228C 2F00 move.l -[A7], D0
0000228E 720C moveq.l D1, 0x0C
00002290 2F01 move.l -[A7], D1
00002292 7400 moveq.l D2, 0x00
00002294 142E 0008 move.b D2, [A6 + 0x8]
00002298 2F02 move.l -[A7], D2
0000229A 4EBA FF64 jsr [PC - 0x9C /* 00002200 */]
0000229E 4E5E unlink A6
000022A0 205F movea.l A0, [A7]+
000022A2 5C4F addq.w A7, 6
000022A4 4ED0 jmp [A0]
export_9:
fn000022A6:
000022A6 4E56 0000 link A6, 0
000022AA 2F2E 000C move.l -[A7], [A6 + 0xC]
000022AE 7000 moveq.l D0, 0x00
000022B0 2F00 move.l -[A7], D0
000022B2 322E 000A move.w D1, [A6 + 0xA]
000022B6 48C1 ext.l D1
000022B8 2F01 move.l -[A7], D1
000022BA 7200 moveq.l D1, 0x00
000022BC 122E 0008 move.b D1, [A6 + 0x8]
000022C0 2F01 move.l -[A7], D1
000022C2 4EBA FF3C jsr [PC - 0xC4 /* 00002200 */]
000022C6 4E5E unlink A6
000022C8 205F movea.l A0, [A7]+
000022CA 504F addq.w A7, 8
000022CC 4ED0 jmp [A0]
fn000022CE:
000022CE 4E56 0000 link A6, 0
000022D2 598F subq.l A7, 4
000022D4 7000 moveq.l D0, 0x00
000022D6 2F00 move.l -[A7], D0
000022D8 322E 0008 move.w D1, [A6 + 0x8]
000022DC 48C1 ext.l D1
000022DE 2F01 move.l -[A7], D1
000022E0 4878 0A80 push.l 0xA80
000022E4 2F2E 000A move.l -[A7], [A6 + 0xA]
000022E8 4EBA FAA8 jsr [PC - 0x558 /* 00001D92 */]
000022EC 4A9F tst.l [A7]+
000022EE 56C0 sne D0
000022F0 0240 0001 andi.w D0, 0x1
000022F4 48C0 ext.l D0
000022F6 1D40 000E move.b [A6 + 0xE], D0
000022FA 4E5E unlink A6
000022FC 205F movea.l A0, [A7]+
000022FE 5C4F addq.w A7, 6
00002300 4ED0 jmp [A0]
fn00002302:
00002302 4E56 0000 link A6, 0
00002306 2F2E 000E move.l -[A7], [A6 + 0xE]
0000230A 70FC moveq.l D0, 0xFFFFFFFC
0000230C 2F00 move.l -[A7], D0
0000230E 322E 000C move.w D1, [A6 + 0xC]
00002312 48C1 ext.l D1
00002314 2F01 move.l -[A7], D1
00002316 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000231A 4EBA FEE4 jsr [PC - 0x11C /* 00002200 */]
0000231E 4E5E unlink A6
00002320 205F movea.l A0, [A7]+
00002322 4FEF 000A lea.l A7, [A7 + 0xA]
00002326 4ED0 jmp [A0]
fn00002328:
00002328 4E56 0000 link A6, 0
0000232C 558F subq.l A7, 2
0000232E 4878 0380 push.l 0x380
00002332 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002336 4EBA FA5A jsr [PC - 0x5A6 /* 00001D92 */]
0000233A 1D5F 000C move.b [A6 + 0xC], [A7]+
0000233E 4E5E unlink A6
00002340 2E9F move.l [A7], [A7]+
00002342 4E75 rts
export_0:
00002344 2057 movea.l A0, [A7]
00002346 42A7 clr.l -[A7]
00002348 486D FDB0 pea.l [A5 - 0x250]
0000234C 486D FDAC pea.l [A5 - 0x254]
00002350 486D FDA8 pea.l [A5 - 0x258]
00002354 2F08 move.l -[A7], A0
00002356 4EBA 01C8 jsr [PC + 0x1C8 /* 00002520 */]
0000235A 72FF moveq.l D1, 0xFFFFFFFF
0000235C B041 cmp.w D0, D1
0000235E 672E beq +0x30 /* 0000238E */
00002360 588F addq.l A7, 4
00002362 4FEF 0010 lea.l A7, [A7 + 0x10]
00002366 486D FFD0 pea.l [A5 - 0x30]
0000236A 4EBA 04C4 jsr [PC + 0x4C4 /* 00002830 */]
0000236E 584F addq.w A7, 4
00002370 4A80 tst.l D0
00002372 6624 bne +0x26 /* 00002398 */
00002374 2F2D FDB0 move.l -[A7], [A5 - 0x250]
00002378 2F2D FDAC move.l -[A7], [A5 - 0x254]
0000237C 2F2D FDA8 move.l -[A7], [A5 - 0x258]
00002380 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00002384 4FEF 000C lea.l A7, [A7 + 0xC]
00002388 2F00 move.l -[A7], D0
0000238A 4EBA 038C jsr [PC + 0x38C /* 00002718 */]
label0000238E:
0000238E 487A 000A pea.l [PC + 0xA /* 0000239A, value 0x1B446174, pstring "Data initialization failed!" */]
00002392 303C FE15 move.w D0, 0xFE15
00002396 A9C9 syscall SysError
label00002398:
00002398 4E75 rts
0000239A 1B44 6174 move.b [A5 + 0x6174], D4
0000239E 6120 bsr +0x22 /* 000023C0 */
000023A0 696E bvs +0x70 /* 00002410 */
000023A2 6974 bvs +0x76 /* 00002418 */
000023A4 6961 bvs +0x63 /* 00002407 */
000023A6 6C69 bge +0x6B /* 00002411 */
000023A8 7A61 moveq.l D5, 0x61
000023AA 7469 moveq.l D2, 0x69
000023AC 6F6E ble +0x70 /* 0000241C */
000023AE 2066 movea.l A0, -[A6]
000023B0 6169 bsr +0x6B /* 0000241B */
000023B2 6C65 bge +0x67 /* 00002419 */
000023B4 6421 bcc +0x23 /* 000023D7 */
fn000023B6:
000023B6 4E56 FFFC link A6, -0x0004
000023BA 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000023BE 4A6D FED8 tst.w [A5 - 0x128]
// begin alternate branch 000023C0-000023C2
fn000023C0:
000023C0 FED8 .extension 0xED8 // unimplemented
// end alternate branch 000023C0-000023C2
fn000023C0: // (misaligned)
000023C2 6600 00BC bne +0xBE /* 00002480 */
000023C6 598F subq.l A7, 4
000023C8 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
000023CE 486D FE82 pea.l [A5 - 0x17E]
000023D2 A820 syscall Get1NamedResource
000023D4 285F movea.l A4, [A7]+
000023D6 200C move.l D0, A4
000023D8 6700 00A6 beq +0xA8 /* 00002480 */
000023DC 558F subq.l A7, 2
000023DE A994 syscall CurResFile
000023E0 558F subq.l A7, 2
000023E2 2F0C move.l -[A7], A4
000023E4 A9A4 syscall HomeResFile
000023E6 301F move.w D0, [A7]+
000023E8 B05F cmp.w D0, [A7]+
000023EA 6600 0094 bne +0x96 /* 00002480 */
000023EE 41ED 0072 lea.l A0, [A5 + 0x72 /* export_10 */]
000023F2 226D FEF4 movea.l A1, [A5 - 0x10C]
000023F6 2348 000C move.l [A1 + 0xC], A0
000023FA 2654 movea.l A3, [A4]
000023FC 3013 move.w D0, [A3]
000023FE 0800 0000 btst.b D0, 0x0
00002402 6708 beq +0xA /* 0000240C */
00002404 3B7C 0028 FED6 move.w [A5 - 0x12A], 0x28 /* '(' */
0000240A 6006 bra +0x8 /* 00002412 */
label0000240C:
0000240C 3B7C 0004 FED6 move.w [A5 - 0x12A], 0x4
// begin alternate branch 00002410-00002412
label00002410:
00002410 FED6 .extension 0xED6 // unimplemented
// end alternate branch 00002410-00002412
label00002410: // (misaligned)
label00002412:
00002412 598F subq.l A7, 4
00002414 2F0C move.l -[A7], A4
00002416 4EBA 05E0 jsr [PC + 0x5E0 /* 000029F8 */]
// begin alternate branch 00002418-0000241A
label00002418:
00002418 05E0 bset -[A0], D2
// end alternate branch 00002418-0000241A
label00002418: // (misaligned)
0000241A 302D FED6 move.w D0, [A5 - 0x12A]
// begin alternate branch 0000241C-0000241E
label0000241C:
0000241C FED6 .extension 0xED6 // unimplemented
// end alternate branch 0000241C-0000241E
label0000241C: // (misaligned)
0000241E 48C0 ext.l D0
00002420 221F move.l D1, [A7]+
00002422 9280 sub.l D1, D0
00002424 2001 move.l D0, D1
00002426 7204 moveq.l D1, 0x04
00002428 4EBA 0378 jsr [PC + 0x378 /* 000027A2 */]
0000242C 2C00 move.l D6, D0
0000242E 7000 moveq.l D0, 0x00
00002430 2640 movea.l A3, D0
00002432 6036 bra +0x38 /* 0000246A */
label00002434:
00002434 2F0C move.l -[A7], A4
00002436 A9A2 syscall LoadResource
00002438 302D FED6 move.w D0, [A5 - 0x12A]
0000243C 48C0 ext.l D0
0000243E D094 add.l D0, [A4]
00002440 2D40 FFFC move.l [A6 - 0x4], D0
00002444 302D FED8 move.w D0, [A5 - 0x128]
00002448 48C0 ext.l D0
0000244A 206E FFFC movea.l A0, [A6 - 0x4]
0000244E E580 asl D0, 2
00002450 3030 0800 move.w D0, [A0 + D0]
00002454 48C0 ext.l D0
00002456 2E00 move.l D7, D0
00002458 6708 beq +0xA /* 00002462 */
0000245A 200D move.l D0, A5
0000245C 2640 movea.l A3, D0
0000245E D7C7 add.l A3, D7
00002460 4E93 jsr [A3]
label00002462:
00002462 302D FED8 move.w D0, [A5 - 0x128]
00002466 526D FED8 addq.w [A5 - 0x128], 1
label0000246A:
0000246A 302D FED8 move.w D0, [A5 - 0x128]
0000246E 48C0 ext.l D0
00002470 BC80 cmp.l D6, D0
00002472 6EC0 bgt -0x3E /* 00002434 */
00002474 200B move.l D0, A3
00002476 6704 beq +0x6 /* 0000247C */
00002478 2F0B move.l -[A7], A3
0000247A A9F1 syscall UnloadSeg
label0000247C:
0000247C 2F0C move.l -[A7], A4
0000247E A9A3 syscall ReleaseResource
label00002480:
00002480 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00002486 4E5E unlink A6
00002488 4E75 rts
0000248A 8B5F or.w [A7]+, D5
0000248C 5F43 subq.w D3, 7
0000248E 706C moveq.l D0, 0x6C
00002490 7573 moveq.l D2, 0x73
00002492 496E 6974 chk.w D4, [A6 + 0x6974]
00002496 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_10: // at 00002498 (misaligned)
0000249A FFFC .extension 0xFFC // unimplemented
0000249C 48E7 0118 movem.l -[A7], D7,A3,A4
000024A0 4A6D FED8 tst.w [A5 - 0x128]
000024A4 6764 beq +0x66 /* 0000250A */
000024A6 598F subq.l A7, 4
000024A8 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
000024AE 486D FEAC pea.l [A5 - 0x154]
000024B2 A9A1 syscall GetNamedResource
000024B4 285F movea.l A4, [A7]+
000024B6 200C move.l D0, A4
000024B8 6750 beq +0x52 /* 0000250A */
000024BA 558F subq.l A7, 2
000024BC A994 syscall CurResFile
000024BE 558F subq.l A7, 2
000024C0 2F0C move.l -[A7], A4
000024C2 A9A4 syscall HomeResFile
000024C4 301F move.w D0, [A7]+
000024C6 B05F cmp.w D0, [A7]+
000024C8 6640 bne +0x42 /* 0000250A */
000024CA 6034 bra +0x36 /* 00002500 */
label000024CC:
000024CC 2F0C move.l -[A7], A4
000024CE A9A2 syscall LoadResource
000024D0 302D FED6 move.w D0, [A5 - 0x12A]
000024D4 48C0 ext.l D0
000024D6 D094 add.l D0, [A4]
000024D8 2D40 FFFC move.l [A6 - 0x4], D0
000024DC 536D FED8 subq.w [A5 - 0x128], 1
000024E0 302D FED8 move.w D0, [A5 - 0x128]
000024E4 48C0 ext.l D0
000024E6 206E FFFC movea.l A0, [A6 - 0x4]
000024EA E580 asl D0, 2
000024EC 3030 0802 move.w D0, [A0 + D0 + 0x2]
000024F0 48C0 ext.l D0
000024F2 2E00 move.l D7, D0
000024F4 200D move.l D0, A5
000024F6 2640 movea.l A3, D0
000024F8 D7C7 add.l A3, D7
000024FA 4A87 tst.l D7
000024FC 6702 beq +0x4 /* 00002500 */
000024FE 4E93 jsr [A3]
label00002500:
00002500 4A6D FED8 tst.w [A5 - 0x128]
00002504 6EC6 bgt -0x38 /* 000024CC */
00002506 2F0C move.l -[A7], A4
00002508 A9A3 syscall ReleaseResource
label0000250A:
0000250A 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
00002510 4E5E unlink A6
00002512 4E75 rts
00002514 8964 or.w -[A4], D4
00002516 746F moveq.l D2, 0x6F
00002518 7273 moveq.l D1, 0x73
0000251A 5F5F subq.w [A7]+, 7
0000251C 4676 0000 not.w [A6 + D0.w]
fn00002520:
00002520 4E56 0000 link A6, 0
00002524 48E7 1338 movem.l -[A7], D3,D6,D7,A2,A3,A4
00002528 2E2E 0018 move.l D7, [A6 + 0x18]
0000252C 266E 000C movea.l A3, [A6 + 0xC]
00002530 4EBA 031C jsr [PC + 0x31C /* 0000284E */]
00002534 4A80 tst.l D0
00002536 6706 beq +0x8 /* 0000253E */
00002538 70FF moveq.l D0, 0xFFFFFFFF
0000253A 6000 01C8 bra +0x1CA /* 00002704 */
label0000253E:
0000253E 206D FEF4 movea.l A0, [A5 - 0x10C]
00002542 20AE 0008 move.l [A0], [A6 + 0x8]
00002546 7601 moveq.l D3, 0x01
00002548 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */]
0000254C 672C beq +0x2E /* 0000257A */
0000254E 7001 moveq.l D0, 0x01
00002550 C0B8 0316 and.l D0, [0x00000316 /* HpChk/MacPgm */]
00002554 6624 bne +0x26 /* 0000257A */
00002556 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000255A 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */
00002560 6618 bne +0x1A /* 0000257A */
00002562 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002566 4AA8 0004 tst.l [A0 + 0x4]
0000256A 670E beq +0x10 /* 0000257A */
0000256C 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002570 2068 0004 movea.l A0, [A0 + 0x4]
00002574 4A50 tst.w [A0]
00002576 6702 beq +0x4 /* 0000257A */
00002578 7600 moveq.l D3, 0x00
label0000257A:
0000257A 4883 ext.w D3
0000257C 48C3 ext.l D3
0000257E 2B43 FEDA move.l [A5 - 0x126], D3
00002582 6760 beq +0x62 /* 000025E4 */
00002584 41ED FFAE lea.l A0, [A5 - 0x52]
00002588 43F8 0910 lea.l A1, [0x00000910 /* CurApName */]
0000258C 7007 moveq.l D0, 0x07
label0000258E:
0000258E 20D9 move.l [A0]+, [A1]+
00002590 51C8 FFFC dbf D0, -0x6 /* 0000258E */
00002594 30D9 move.w [A0]+, [A1]+
00002596 41ED FFAE lea.l A0, [A5 - 0x52]
0000259A 226D FEE4 movea.l A1, [A5 - 0x11C]
0000259E 2288 move.l [A1], A0
000025A0 4A87 tst.l D7
000025A2 660E bne +0x10 /* 000025B2 */
000025A4 598F subq.l A7, 4
000025A6 206D FEE4 movea.l A0, [A5 - 0x11C]
000025AA 2F10 move.l -[A7], [A0]
000025AC 4EBA 0A26 jsr [PC + 0xA26 /* 00002FD4 */]
000025B0 584F addq.w A7, 4
label000025B2:
000025B2 200B move.l D0, A3
000025B4 6704 beq +0x6 /* 000025BA */
000025B6 7001 moveq.l D0, 0x01
000025B8 2680 move.l [A3], D0
label000025BA:
000025BA 4AAE 0010 tst.l [A6 + 0x10]
000025BE 6708 beq +0xA /* 000025C8 */
000025C0 206E 0010 movea.l A0, [A6 + 0x10]
000025C4 20AD FEE4 move.l [A0], [A5 - 0x11C]
label000025C8:
000025C8 4AAE 0014 tst.l [A6 + 0x14]
000025CC 6708 beq +0xA /* 000025D6 */
000025CE 206E 0014 movea.l A0, [A6 + 0x14]
000025D2 20AD FEE8 move.l [A0], [A5 - 0x118]
label000025D6:
000025D6 4EBA FDDE jsr [PC - 0x222 /* 000023B6 */]
000025DA 7001 moveq.l D0, 0x01
000025DC 2B40 FEDA move.l [A5 - 0x126], D0
000025E0 6000 0122 bra +0x124 /* 00002704 */
label000025E4:
000025E4 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000025E8 2068 0004 movea.l A0, [A0 + 0x4]
000025EC 302D FEDE move.w D0, [A5 - 0x122]
000025F0 B050 cmp.w D0, [A0]
000025F2 670C beq +0xE /* 00002600 */
000025F4 2F3C 8000 0000 move.l -[A7], 0x80000000
000025FA 4EBA 013C jsr [PC + 0x13C /* 00002738 */]
000025FE 584F addq.w A7, 4
label00002600:
00002600 41ED FEDE lea.l A0, [A5 - 0x122]
00002604 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */]
00002608 2269 0004 movea.l A1, [A1 + 0x4]
0000260C 2348 0024 move.l [A1 + 0x24], A0
00002610 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002614 2B68 0004 FF02 move.l [A5 - 0xFE], [A0 + 0x4]
0000261A 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000261E 2068 0004 movea.l A0, [A0 + 0x4]
00002622 2B68 0002 FEE0 move.l [A5 - 0x120], [A0 + 0x2]
00002628 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000262C 2068 0004 movea.l A0, [A0 + 0x4]
00002630 2B68 0006 FEE4 move.l [A5 - 0x11C], [A0 + 0x6]
00002636 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000263A 2068 0004 movea.l A0, [A0 + 0x4]
0000263E 2B68 000A FEE8 move.l [A5 - 0x118], [A0 + 0xA]
00002644 4A87 tst.l D7
00002646 672C beq +0x2E /* 00002674 */
00002648 286D FEE4 movea.l A4, [A5 - 0x11C]
0000264C 600C bra +0xE /* 0000265A */
label0000264E:
0000264E 598F subq.l A7, 4
00002650 2F14 move.l -[A7], [A4]
00002652 4EBA 094A jsr [PC + 0x94A /* 00002F9E */]
00002656 584F addq.w A7, 4
00002658 584C addq.w A4, 4
label0000265A:
0000265A 4A94 tst.l [A4]
0000265C 66F0 bne -0xE /* 0000264E */
0000265E 286D FEE8 movea.l A4, [A5 - 0x118]
00002662 600C bra +0xE /* 00002670 */
label00002664:
00002664 598F subq.l A7, 4
00002666 2F14 move.l -[A7], [A4]
00002668 4EBA 0934 jsr [PC + 0x934 /* 00002F9E */]
0000266C 584F addq.w A7, 4
0000266E 584C addq.w A4, 4
label00002670:
00002670 4A94 tst.l [A4]
00002672 66F0 bne -0xE /* 00002664 */
label00002674:
00002674 200B move.l D0, A3
00002676 6704 beq +0x6 /* 0000267C */
00002678 26AD FEE0 move.l [A3], [A5 - 0x120]
label0000267C:
0000267C 4AAE 0010 tst.l [A6 + 0x10]
00002680 6708 beq +0xA /* 0000268A */
00002682 206E 0010 movea.l A0, [A6 + 0x10]
00002686 20AD FEE4 move.l [A0], [A5 - 0x11C]
label0000268A:
0000268A 4AAE 0014 tst.l [A6 + 0x14]
0000268E 6708 beq +0xA /* 00002698 */
00002690 206E 0014 movea.l A0, [A6 + 0x14]
00002694 20AD FEE8 move.l [A0], [A5 - 0x118]
label00002698:
00002698 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000269C 2068 0004 movea.l A0, [A0 + 0x4]
000026A0 4AA8 0020 tst.l [A0 + 0x20]
000026A4 6754 beq +0x56 /* 000026FA */
000026A6 7078 moveq.l D0, 0x78
000026A8 A11E syscall NewPtr, flags=1
000026AA 2B48 FEFE move.l [A5 - 0x102], A0
000026AE 660A bne +0xC /* 000026BA */
000026B0 7002 moveq.l D0, 0x02
000026B2 2F00 move.l -[A7], D0
000026B4 4EBA 0082 jsr [PC + 0x82 /* 00002738 */]
000026B8 584F addq.w A7, 4
label000026BA:
000026BA 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000026BE 2068 0004 movea.l A0, [A0 + 0x4]
000026C2 2668 0020 movea.l A3, [A0 + 0x20]
000026C6 7E00 moveq.l D7, 0x00
000026C8 7605 moveq.l D3, 0x05
label000026CA:
000026CA 2207 move.l D1, D7
000026CC 2001 move.l D0, D1
000026CE C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
000026D0 0018 4840 ori.b [A0]+, 0x40 /* '@' */
000026D4 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
000026D6 0018 4840 ori.b [A0]+, 0x40 /* '@' */
000026DA 4240 clr.w D0
000026DC D280 add.l D1, D0
000026DE 2C01 move.l D6, D1
000026E0 206D FEFE movea.l A0, [A5 - 0x102]
000026E4 43F3 6800 lea.l A1, [A3 + D6]
000026E8 45F0 6800 lea.l A2, [A0 + D6]
000026EC 7005 moveq.l D0, 0x05
label000026EE:
000026EE 24D9 move.l [A2]+, [A1]+
000026F0 51C8 FFFC dbf D0, -0x6 /* 000026EE */
000026F4 5287 addq.l D7, 1
000026F6 B687 cmp.l D3, D7
000026F8 6ED0 bgt -0x2E /* 000026CA */
label000026FA:
000026FA 4EBA FCBA jsr [PC - 0x346 /* 000023B6 */]
000026FE 7000 moveq.l D0, 0x00
00002700 2B40 FEDA move.l [A5 - 0x126], D0
label00002704:
00002704 4CEE 1CC8 FFE8 movem.l D3,D6,D7,A2,A3,A4, [A6 - 0x18]
0000270A 4E5E unlink A6
0000270C 4E75 rts
0000270E 875F or.w [A7]+, D3
00002710 5254 addq.w [A4], 1
00002712 496E 6974 chk.w D4, [A6 + 0x6974]
00002716 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002718-00002722
fn00002718:
00002718 4E56 0000 link A6, 0
0000271C 203C 00FF FFFF move.l D0, 0xFFFFFF
// end alternate branch 00002718-00002722
fn00002718: // (misaligned)
0000271A 0000 203C ori.b D0, 0x3C /* '<' */
0000271E 00FF ori.? <<invalid special address>>, 0xFFFFFFFFFFFFFFFF
00002720 FFFF .extension 0xFFF // unimplemented
00002722 C0AE 0008 and.l D0, [A6 + 0x8]
00002726 2F00 move.l -[A7], D0
00002728 4EBA 000E jsr [PC + 0xE /* 00002738 */]
0000272C 4E5E unlink A6
0000272E 4E75 rts
00002730 8465 or.w D2, -[A5]
00002732 7869 moveq.l D4, 0x69
00002734 7400 moveq.l D2, 0x00
00002736 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002738-0000273E
fn00002738:
00002738 4E56 0000 link A6, 0
0000273C 2F0C move.l -[A7], A4
// end alternate branch 00002738-0000273E
fn00002738: // (misaligned)
0000273A 0000 2F0C ori.b D0, 0xC
0000273E 206D FEF4 movea.l A0, [A5 - 0x10C]
00002742 49E8 008C lea.l A4, [A0 + 0x8C]
00002746 600A bra +0xC /* 00002752 */
label00002748:
00002748 4A94 tst.l [A4]
0000274A 6704 beq +0x6 /* 00002750 */
0000274C 2054 movea.l A0, [A4]
0000274E 4E90 jsr [A0]
label00002750:
00002750 594C subq.w A4, 4
label00002752:
00002752 206D FEF4 movea.l A0, [A5 - 0x10C]
00002756 B1CC cmpa.l A0, A4
00002758 65EE bcs -0x10 /* 00002748 */
0000275A 4AAD FF02 tst.l [A5 - 0xFE]
0000275E 670A beq +0xC /* 0000276A */
00002760 206D FF02 movea.l A0, [A5 - 0xFE]
00002764 216E 0008 000E move.l [A0 + 0xE], [A6 + 0x8]
label0000276A:
0000276A 4AAD FFE8 tst.l [A5 - 0x18]
0000276E 660A bne +0xC /* 0000277A */
00002770 206D FEF4 movea.l A0, [A5 - 0x10C]
00002774 2250 movea.l A1, [A0]
00002776 4E91 jsr [A1]
00002778 600E bra +0x10 /* 00002788 */
label0000277A:
0000277A 7001 moveq.l D0, 0x01
0000277C 2F00 move.l -[A7], D0
0000277E 486D FFD0 pea.l [A5 - 0x30]
00002782 4EBA 00B8 jsr [PC + 0xB8 /* 0000283C */]
00002786 504F addq.w A7, 8
label00002788:
00002788 286E FFFC movea.l A4, [A6 - 0x4]
0000278C 4E5E unlink A6
0000278E 4E75 rts
00002790 875F or.w [A7]+, D3
00002792 5254 addq.w [A4], 1
00002794 4578 6974 chk.w D2, [0x00006974]
00002798 0000 222F ori.b D0, 0x2F /* '/' */
0000279C 0004 202F ori.b D4, 0x2F /* '/' */
000027A0 0008 4EBA ori.b A0, 0xBA
// begin alternate branch 000027A2-000027A8
fn000027A2:
000027A2 4EBA 000E jsr [PC + 0xE /* 000027B2 */]
000027A6 2001 move.l D0, D1
// end alternate branch 000027A2-000027A8
fn000027A2: // (misaligned)
000027A4 000E 2001 ori.b A6, 0x1
000027A8 4E75 rts
000027AA 222F 0004 move.l D1, [A7 + 0x4]
000027AE 202F 0008 move.l D0, [A7 + 0x8]
fn000027B2:
000027B2 48E7 0600 movem.l -[A7], D5,D6
000027B6 2A00 move.l D5, D0
000027B8 6A02 bpl +0x4 /* 000027BC */
000027BA 4480 neg.l D0
label000027BC:
000027BC 2C01 move.l D6, D1
000027BE 6A02 bpl +0x4 /* 000027C2 */
000027C0 4481 neg.l D1
label000027C2:
000027C2 4EBA 001C jsr [PC + 0x1C /* 000027E0 */]
000027C6 4A85 tst.l D5
000027C8 6A02 bpl +0x4 /* 000027CC */
000027CA 4480 neg.l D0
label000027CC:
000027CC BB86 xor.l D6, D5
000027CE 6A02 bpl +0x4 /* 000027D2 */
000027D0 4481 neg.l D1
label000027D2:
000027D2 4CDF 0060 movem.l D5,D6, [A7]+
000027D6 4E75 rts
000027D8 222F 0004 move.l D1, [A7 + 0x4]
000027DC 202F 0008 move.l D0, [A7 + 0x8]
fn000027E0:
000027E0 48E7 3800 movem.l -[A7], D2,D3,D4
000027E4 2401 move.l D2, D1
000027E6 4842 swap.w D2
000027E8 4A42 tst.w D2
000027EA 661C bne +0x1E /* 00002808 */
000027EC 3600 move.w D3, D0
000027EE 4240 clr.w D0
000027F0 4840 swap.w D0
000027F2 6704 beq +0x6 /* 000027F8 */
000027F4 80C1 divu.w D0, D1
000027F6 3400 move.w D2, D0
label000027F8:
000027F8 4842 swap.w D2
000027FA 3003 move.w D0, D3
000027FC 80C1 divu.w D0, D1
000027FE 3400 move.w D2, D0
00002800 2202 move.l D1, D2
00002802 4240 clr.w D0
00002804 4840 swap.w D0
00002806 6022 bra +0x24 /* 0000282A */
label00002808:
00002808 2400 move.l D2, D0
0000280A 4240 clr.w D0
0000280C 4840 swap.w D0
0000280E 4842 swap.w D2
00002810 4242 clr.w D2
00002812 2601 move.l D3, D1
00002814 7200 moveq.l D1, 0x00
00002816 780F moveq.l D4, 0x0F
label00002818:
00002818 D482 add.l D2, D2
0000281A D180 addx.l D0, D0
0000281C D281 add.l D1, D1
0000281E B083 cmp.l D0, D3
00002820 6504 bcs +0x6 /* 00002826 */
00002822 9083 sub.l D0, D3
00002824 5201 addq.b D1, 1
label00002826:
00002826 51CC FFF0 dbf D4, -0x12 /* 00002818 */
label0000282A:
0000282A 4CDF 001C movem.l D2,D3,D4, [A7]+
0000282E 4E75 rts
fn00002830:
00002830 225F movea.l A1, [A7]+
00002832 2057 movea.l A0, [A7]
00002834 48D0 DEFC movem.l [A0], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7
00002838 7000 moveq.l D0, 0x00
0000283A 4ED1 jmp [A1]
fn0000283C:
0000283C 202F 0008 move.l D0, [A7 + 0x8]
00002840 6602 bne +0x4 /* 00002844 */
00002842 7001 moveq.l D0, 0x01
label00002844:
00002844 206F 0004 movea.l A0, [A7 + 0x4]
00002848 4CD0 DEFC movem.l D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7, [A0]
0000284C 4ED1 jmp [A1]
fn0000284E:
0000284E 48E7 7FF8 movem.l -[A7], D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00002852 49FA 079C lea.l A4, [PC + 0x79C /* 00002FF0, value 0x3AA */]
00002856 302C 0004 move.w D0, [A4 + 0x4]
0000285A 5340 subq.w D0, 1
0000285C 6704 beq +0x6 /* 00002862 */
0000285E 70FF moveq.l D0, 0xFFFFFFFF
00002860 6032 bra +0x34 /* 00002894 */
label00002862:
00002862 264D movea.l A3, A5
00002864 97D4 sub.l A3, [A4]
00002866 2F0B move.l -[A7], A3
00002868 2F14 move.l -[A7], [A4]
0000286A 6100 0148 bsr +0x14A /* 000029B4 */
0000286E 202C 0008 move.l D0, [A4 + 0x8]
00002872 4874 0800 pea.l [A4 + D0]
00002876 2F0B move.l -[A7], A3
00002878 6100 002E bsr +0x30 /* 000028A8 */
0000287C 504F addq.w A7, 8
0000287E 202C 000C move.l D0, [A4 + 0xC]
00002882 4874 0800 pea.l [A4 + D0]
00002886 2F0B move.l -[A7], A3
00002888 2F0D move.l -[A7], A5
0000288A 6100 00CC bsr +0xCE /* 00002958 */
0000288E 4FEF 000C lea.l A7, [A7 + 0xC]
00002892 7000 moveq.l D0, 0x00
label00002894:
00002894 4CDF 1FFE movem.l D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
00002898 4E75 rts
0000289A 8009 or.b D0, A1
0000289C 5F44 subq.w D4, 7
0000289E 4154 chk.w D0, [A4]
000028A0 4149 chk.w D0, A1
000028A2 4E49 trap 9
000028A4 5400 addq.b D0, 2
000028A6 0000 226F ori.b D0, 0x6F /* 'o' */
// begin alternate branch 000028A8-000028B4
fn000028A8:
000028A8 226F 0004 movea.l A1, [A7 + 0x4]
000028AC 206F 0008 movea.l A0, [A7 + 0x8]
000028B0 48E7 1800 movem.l -[A7], D3,D4
// end alternate branch 000028A8-000028B4
fn000028A8: // (misaligned)
000028AA 0004 206F ori.b D4, 0x6F /* 'o' */
000028AE 0008 48E7 ori.b A0, 0xE7
000028B2 1800 move.b D4, D0
label000028B4:
000028B4 7601 moveq.l D3, 0x01
000028B6 7200 moveq.l D1, 0x00
000028B8 1218 move.b D1, [A0]+
000028BA 2401 move.l D2, D1
000028BC 0241 000F andi.w D1, 0xF
000028C0 6608 bne +0xA /* 000028CA */
000028C2 6140 bsr +0x42 /* 00002904 */
000028C4 2200 move.l D1, D0
000028C6 6722 beq +0x24 /* 000028EA */
000028C8 6002 bra +0x4 /* 000028CC */
label000028CA:
000028CA D241 add.w D1, D1
label000028CC:
000028CC 0242 00F0 andi.w D2, 0xF0
000028D0 6606 bne +0x8 /* 000028D8 */
000028D2 6130 bsr +0x32 /* 00002904 */
000028D4 2400 move.l D2, D0
000028D6 6002 bra +0x4 /* 000028DA */
label000028D8:
000028D8 E64A lsr D2.w, 3
label000028DA:
000028DA D3C2 add.l A1, D2
000028DC 2801 move.l D4, D1
label000028DE:
000028DE 12D8 move.b [A1]+, [A0]+
000028E0 5384 subq.l D4, 1
000028E2 66FA bne -0x4 /* 000028DE */
000028E4 5383 subq.l D3, 1
000028E6 66F2 bne -0xC /* 000028DA */
000028E8 60CA bra -0x34 /* 000028B4 */
label000028EA:
000028EA 4CDF 0018 movem.l D3,D4, [A7]+
000028EE 4E75 rts
000028F0 8010 or.b D0, [A0]
000028F2 756E moveq.l D2, 0x6E
000028F4 636F bls +0x71 /* 00002965 */
000028F6 6D70 blt +0x72 /* 00002968 */
000028F8 7265 moveq.l D1, 0x65
000028FA 7373 moveq.l D1, 0x73
000028FC 5F77 6F72 6C64 0000 7000 subq.w [[A7 + 0x6C640000] + 0x7000], 7
// begin alternate branch 00002904-00002906
fn00002904:
00002904 7000 moveq.l D0, 0x00
// end alternate branch 00002904-00002906
fn00002904: // (misaligned)
00002906 1018 move.b D0, [A0]+
00002908 6A42 bpl +0x44 /* 0000294C */
0000290A 0800 0006 btst.b D0, 0x6
0000290E 6734 beq +0x36 /* 00002944 */
00002910 0800 0005 btst.b D0, 0x5
00002914 6720 beq +0x22 /* 00002936 */
00002916 0800 0004 btst.b D0, 0x4
0000291A 670A beq +0xC /* 00002926 */
0000291C 61E6 bsr -0x18 /* 00002904 */
0000291E 2600 move.l D3, D0
00002920 61E2 bsr -0x1C /* 00002904 */
00002922 C143 exg D0, D3
00002924 4E75 rts
label00002926:
00002926 1018 move.b D0, [A0]+
00002928 E180 asl D0, 8
0000292A 1018 move.b D0, [A0]+
0000292C E180 asl D0, 8
0000292E 1018 move.b D0, [A0]+
00002930 E180 asl D0, 8
00002932 1018 move.b D0, [A0]+
00002934 4E75 rts
label00002936:
00002936 0200 001F andi.b D0, 0x1F
0000293A E180 asl D0, 8
0000293C 1018 move.b D0, [A0]+
0000293E E180 asl D0, 8
00002940 1018 move.b D0, [A0]+
00002942 4E75 rts
label00002944:
00002944 0200 003F andi.b D0, 0x3F /* '?' */
00002948 E180 asl D0, 8
0000294A 1018 move.b D0, [A0]+
label0000294C:
0000294C 4E75 rts
0000294E 8006 or.b D0, D6
00002950 6765 beq +0x67 /* 000029B7 */
00002952 745F moveq.l D2, 0x5F
00002954 726C moveq.l D1, 0x6C
00002956 0000 222F ori.b D0, 0x2F /* '/' */
// begin alternate branch 00002958-00002966
fn00002958:
00002958 222F 0004 move.l D1, [A7 + 0x4]
0000295C 226F 0008 movea.l A1, [A7 + 0x8]
00002960 206F 000C movea.l A0, [A7 + 0xC]
label00002964:
00002964 7401 moveq.l D2, 0x01
// end alternate branch 00002958-00002966
fn00002958: // (misaligned)
0000295A 0004 226F ori.b D4, 0x6F /* 'o' */
0000295E 0008 206F ori.b A0, 0x6F /* 'o' */
00002962 000C 7401 ori.b A4, 0x1
label00002964: // (misaligned)
00002966 7000 moveq.l D0, 0x00
label00002968:
00002968 1018 move.b D0, [A0]+
0000296A 670C beq +0xE /* 00002978 */
0000296C 6A26 bpl +0x28 /* 00002994 */
0000296E 0880 0007 bclr.b D0, 0x7
00002972 E188 lsl D0, 8
00002974 1018 move.b D0, [A0]+
00002976 601C bra +0x1E /* 00002994 */
label00002978:
00002978 1018 move.b D0, [A0]+
0000297A 6724 beq +0x26 /* 000029A0 */
0000297C 6A0E bpl +0x10 /* 0000298C */
0000297E E188 lsl D0, 8
00002980 1018 move.b D0, [A0]+
00002982 E188 lsl D0, 8
00002984 1018 move.b D0, [A0]+
00002986 E188 lsl D0, 8
00002988 1018 move.b D0, [A0]+
0000298A 6008 bra +0xA /* 00002994 */
label0000298C:
0000298C 2400 move.l D2, D0
0000298E 6100 FF74 bsr -0x8A /* 00002904 */
00002992 C142 exg D0, D2
label00002994:
00002994 D080 add.l D0, D0
label00002996:
00002996 D3C0 add.l A1, D0
00002998 D391 add.l [A1], D1
0000299A 5382 subq.l D2, 1
0000299C 66F8 bne -0x6 /* 00002996 */
0000299E 60C4 bra -0x3A /* 00002964 */
label000029A0:
000029A0 4E75 rts
000029A2 800E or.b D0, A6
000029A4 7265 moveq.l D1, 0x65
000029A6 6C6F bge +0x71 /* 00002A17 */
000029A8 6361 bls +0x63 /* 00002A0B */
000029AA 7465 moveq.l D2, 0x65
000029AC 5F77 6F72 6C64 0000 7400 subq.w [[A7 + 0x6C640000] + 0x7400], 7
// begin alternate branch 000029B4-000029B6
fn000029B4:
000029B4 7400 moveq.l D2, 0x00
// end alternate branch 000029B4-000029B6
fn000029B4: // (misaligned)
000029B6 205F movea.l A0, [A7]+
000029B8 201F move.l D0, [A7]+
000029BA 225F movea.l A1, [A7]+
000029BC 6728 beq +0x2A /* 000029E6 */
label000029BE:
000029BE 3209 move.w D1, A1
000029C0 0241 0003 andi.w D1, 0x3
000029C4 6708 beq +0xA /* 000029CE */
000029C6 12C2 move.b [A1]+, D2
000029C8 5380 subq.l D0, 1
000029CA 66F2 bne -0xC /* 000029BE */
000029CC 6018 bra +0x1A /* 000029E6 */
label000029CE:
000029CE 2200 move.l D1, D0
000029D0 E489 lsr D1, 2
000029D2 6706 beq +0x8 /* 000029DA */
label000029D4:
000029D4 22C2 move.l [A1]+, D2
000029D6 5381 subq.l D1, 1
000029D8 66FA bne -0x4 /* 000029D4 */
label000029DA:
000029DA 0240 0003 andi.w D0, 0x3
000029DE 6002 bra +0x4 /* 000029E2 */
label000029E0:
000029E0 12C2 move.b [A1]+, D2
label000029E2:
000029E2 51C8 FFFC dbf D0, -0x6 /* 000029E0 */
label000029E6:
000029E6 4ED0 jmp [A0]
000029E8 800A or.b D0, A2
000029EA 5A45 addq.w D5, 5
000029EC 524F addq.w A7, 1
000029EE 4255 clr.w [A5]
000029F0 4646 not.w D6
000029F2 4552 chk.w D2, [A2]
000029F4 0000 0000 ori.b D0, 0x0
fn000029F8:
000029F8 225F movea.l A1, [A7]+
000029FA 205F movea.l A0, [A7]+
000029FC A025 syscall GetHandleSize
000029FE 2E80 move.l [A7], D0
00002A00 6A02 bpl +0x4 /* 00002A04 */
00002A02 4297 clr.l [A7]
label00002A04:
00002A04 4ED1 jmp [A1]
fn00002A06:
00002A06 225F movea.l A1, [A7]+
00002A08 101F move.b D0, [A7]+
00002A0A 205F movea.l A0, [A7]+
00002A0C 6604 bne +0x6 /* 00002A12 */
00002A0E A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
00002A10 6002 bra +0x4 /* 00002A14 */
label00002A12:
00002A12 A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label00002A14:
00002A14 3E80 move.w [A7], D0
00002A16 4ED1 jmp [A1]
fn00002A18:
00002A18 225F movea.l A1, [A7]+
00002A1A 101F move.b D0, [A7]+
00002A1C 205F movea.l A0, [A7]+
00002A1E 6604 bne +0x6 /* 00002A24 */
00002A20 A00A syscall OpenRF/PBHOpenRF/HOpenRF
00002A22 6002 bra +0x4 /* 00002A26 */
label00002A24:
00002A24 A40A syscall OpenRF/PBHOpenRF/HOpenRF, flags=4
label00002A26:
00002A26 3E80 move.w [A7], D0
00002A28 4ED1 jmp [A1]
fn00002A2A:
00002A2A 4E56 FFCE link A6, -0x0032
00002A2E 204F movea.l A0, A7
00002A30 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00002A36 A001 syscall Close
00002A38 3D40 000A move.w [A6 + 0xA], D0
00002A3C 4E5E unlink A6
00002A3E 205F movea.l A0, [A7]+
00002A40 548F addq.l A7, 2
00002A42 4ED0 jmp [A0]
fn00002A44:
00002A44 51C1 sf D1
00002A46 6002 bra +0x4 /* 00002A4A */
fn00002A48:
00002A48 50C1 st D1
label00002A4A:
00002A4A 4E56 FFCE link A6, -0x0032
00002A4E 204F movea.l A0, A7
00002A50 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00002A56 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00002A5C 226E 000C movea.l A1, [A6 + 0xC]
00002A60 2151 0024 move.l [A0 + 0x24], [A1]
00002A64 4268 002C clr.w [A0 + 0x2C]
00002A68 42A8 002E clr.l [A0 + 0x2E]
00002A6C 4A01 tst.b D1
00002A6E 6604 bne +0x6 /* 00002A74 */
00002A70 A002 syscall Read
00002A72 6002 bra +0x4 /* 00002A76 */
label00002A74:
00002A74 A003 syscall Write
label00002A76:
00002A76 3D40 0012 move.w [A6 + 0x12], D0
00002A7A 226E 000C movea.l A1, [A6 + 0xC]
00002A7E 22A8 0028 move.l [A1], [A0 + 0x28]
00002A82 4E5E unlink A6
00002A84 225F movea.l A1, [A7]+
00002A86 4FEF 000A lea.l A7, [A7 + 0xA]
00002A8A 4ED1 jmp [A1]
fn00002A8C:
00002A8C 4E56 FFB0 link A6, -0x0050
00002A90 204F movea.l A0, A7
00002A92 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00002A98 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00002A9E 4228 001A clr.b [A0 + 0x1A]
00002AA2 4268 001C clr.w [A0 + 0x1C]
00002AA6 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002AA8 3D40 0012 move.w [A6 + 0x12], D0
00002AAC 41E8 0020 lea.l A0, [A0 + 0x20]
00002AB0 226E 0008 movea.l A1, [A6 + 0x8]
00002AB4 7010 moveq.l D0, 0x10
00002AB6 A02E syscall BlockMove/BlockMoveData
00002AB8 4E5E unlink A6
00002ABA 225F movea.l A1, [A7]+
00002ABC 4FEF 000A lea.l A7, [A7 + 0xA]
00002AC0 4ED1 jmp [A1]
export_11:
fn00002AC2:
00002AC2 4E56 FFC0 link A6, -0x0040
00002AC6 204F movea.l A0, A7
00002AC8 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00002ACE A014 syscall GetVol/PBHGetVol/HGetVol
00002AD0 3D40 0010 move.w [A6 + 0x10], D0
00002AD4 226E 0008 movea.l A1, [A6 + 0x8]
00002AD8 32A8 0016 move.w [A1], [A0 + 0x16]
00002ADC 4E5E unlink A6
00002ADE 225F movea.l A1, [A7]+
00002AE0 508F addq.l A7, 8
00002AE2 4ED1 jmp [A1]
fn00002AE4:
00002AE4 4E56 FFC0 link A6, -0x0040
00002AE8 204F movea.l A0, A7
00002AEA 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00002AF0 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00002AF6 A015 syscall SetVol/PBHSetVol/HSetVol
00002AF8 3D40 000E move.w [A6 + 0xE], D0
00002AFC 4E5E unlink A6
00002AFE 225F movea.l A1, [A7]+
00002B00 5C8F addq.l A7, 6
00002B02 4ED1 jmp [A1]
fn00002B04:
00002B04 4E56 FFC0 link A6, -0x0040
00002B08 204F movea.l A0, A7
00002B0A 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00002B10 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00002B16 A013 syscall FlushVol
00002B18 3D40 000E move.w [A6 + 0xE], D0
00002B1C 4E5E unlink A6
00002B1E 225F movea.l A1, [A7]+
00002B20 5C8F addq.l A7, 6
00002B22 4ED1 jmp [A1]
fn00002B24:
00002B24 4E56 FFB0 link A6, -0x0050
00002B28 204F movea.l A0, A7
00002B2A 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
00002B30 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
00002B36 4228 001A clr.b [A0 + 0x1A]
00002B3A A008 syscall Create/PBHCreate/HCreate
00002B3C 6616 bne +0x18 /* 00002B54 */
00002B3E 4268 001C clr.w [A0 + 0x1C]
00002B42 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002B44 660E bne +0x10 /* 00002B54 */
00002B46 43E8 0020 lea.l A1, [A0 + 0x20]
00002B4A 22EE 0008 move.l [A1]+, [A6 + 0x8]
00002B4E 22AE 000C move.l [A1], [A6 + 0xC]
00002B52 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00002B54:
00002B54 3D40 0016 move.w [A6 + 0x16], D0
00002B58 4E5E unlink A6
00002B5A 225F movea.l A1, [A7]+
00002B5C 4FEF 000E lea.l A7, [A7 + 0xE]
00002B60 4ED1 jmp [A1]
fn00002B62:
00002B62 4E56 FFCE link A6, -0x0032
00002B66 204F movea.l A0, A7
00002B68 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00002B6E 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00002B74 4228 001A clr.b [A0 + 0x1A]
00002B78 A009 syscall Delete/PBHDelete/HDelete
00002B7A 3D40 000E move.w [A6 + 0xE], D0
00002B7E 4E5E unlink A6
00002B80 225F movea.l A1, [A7]+
00002B82 5C8F addq.l A7, 6
00002B84 4ED1 jmp [A1]
fn00002B86:
00002B86 4E56 FFCE link A6, -0x0032
00002B8A 204F movea.l A0, A7
00002B8C 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00002B92 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00002B98 4228 001A clr.b [A0 + 0x1A]
00002B9C 4228 001B clr.b [A0 + 0x1B]
00002BA0 42A8 001C clr.l [A0 + 0x1C]
00002BA4 A00A syscall OpenRF/PBHOpenRF/HOpenRF
00002BA6 3D40 0012 move.w [A6 + 0x12], D0
00002BAA 226E 0008 movea.l A1, [A6 + 0x8]
00002BAE 32A8 0018 move.w [A1], [A0 + 0x18]
00002BB2 4E5E unlink A6
00002BB4 225F movea.l A1, [A7]+
00002BB6 4FEF 000A lea.l A7, [A7 + 0xA]
00002BBA 4ED1 jmp [A1]
fn00002BBC:
00002BBC 4E56 FFB0 link A6, -0x0050
00002BC0 204F movea.l A0, A7
00002BC2 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00002BC8 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00002BCE 4228 001A clr.b [A0 + 0x1A]
00002BD2 4268 001C clr.w [A0 + 0x1C]
00002BD6 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002BD8 43E8 0020 lea.l A1, [A0 + 0x20]
00002BDC 206E 0008 movea.l A0, [A6 + 0x8]
00002BE0 7010 moveq.l D0, 0x10
00002BE2 A02E syscall BlockMove/BlockMoveData
00002BE4 204F movea.l A0, A7
00002BE6 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
00002BE8 3D40 0012 move.w [A6 + 0x12], D0
00002BEC 4E5E unlink A6
00002BEE 225F movea.l A1, [A7]+
00002BF0 4FEF 000A lea.l A7, [A7 + 0xA]
00002BF4 4ED1 jmp [A1]
fn00002BF6:
00002BF6 4E56 FFCE link A6, -0x0032
00002BFA 204F movea.l A0, A7
00002BFC 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00002C02 A011 syscall GetEOF
00002C04 3D40 000E move.w [A6 + 0xE], D0
00002C08 226E 0008 movea.l A1, [A6 + 0x8]
00002C0C 22A8 001C move.l [A1], [A0 + 0x1C]
00002C10 4E5E unlink A6
00002C12 225F movea.l A1, [A7]+
00002C14 5C8F addq.l A7, 6
00002C16 4ED1 jmp [A1]
fn00002C18:
00002C18 4E56 FFCE link A6, -0x0032
00002C1C 204F movea.l A0, A7
00002C1E 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00002C24 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00002C2A 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00002C30 A044 syscall SetFPos
00002C32 3D40 0010 move.w [A6 + 0x10], D0
00002C36 4E5E unlink A6
00002C38 225F movea.l A1, [A7]+
00002C3A 508F addq.l A7, 8
00002C3C 4ED1 jmp [A1]
fn00002C3E:
00002C3E 225F movea.l A1, [A7]+
00002C40 101F move.b D0, [A7]+
00002C42 205F movea.l A0, [A7]+
00002C44 6606 bne +0x8 /* 00002C4C */
00002C46 7009 moveq.l D0, 0x09
00002C48 A260 syscall FSDispatch/HFSDispatch, flags=2
00002C4A 6004 bra +0x6 /* 00002C50 */
label00002C4C:
00002C4C 7009 moveq.l D0, 0x09
00002C4E A660 syscall FSDispatch/HFSDispatch, flags=6
label00002C50:
00002C50 3E80 move.w [A7], D0
00002C52 4ED1 jmp [A1]
fn00002C54:
00002C54 225F movea.l A1, [A7]+
00002C56 101F move.b D0, [A7]+
00002C58 205F movea.l A0, [A7]+
00002C5A 6604 bne +0x6 /* 00002C60 */
00002C5C A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00002C5E 6002 bra +0x4 /* 00002C62 */
label00002C60:
00002C60 A607 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
label00002C62:
00002C62 3E80 move.w [A7], D0
00002C64 4ED1 jmp [A1]
fn00002C66:
00002C66 226F 0004 movea.l A1, [A7 + 0x4]
00002C6A 4251 clr.w [A1]
00002C6C 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00002C70 A025 syscall GetHandleSize
00002C72 4A80 tst.l D0
00002C74 6F0E ble +0x10 /* 00002C84 */
00002C76 2050 movea.l A0, [A0]
00002C78 226F 0008 movea.l A1, [A7 + 0x8]
00002C7C 3298 move.w [A1], [A0]+
00002C7E 226F 0004 movea.l A1, [A7 + 0x4]
00002C82 3290 move.w [A1], [A0]
label00002C84:
00002C84 205F movea.l A0, [A7]+
00002C86 504F addq.w A7, 8
00002C88 4ED0 jmp [A0]
fn00002C8A:
00002C8A 48E7 0030 movem.l -[A7], A2,A3
00002C8E 226F 000C movea.l A1, [A7 + 0xC]
00002C92 42A9 0002 clr.l [A1 + 0x2]
00002C96 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00002C9A A025 syscall GetHandleSize
00002C9C 4A80 tst.l D0
00002C9E 6F26 ble +0x28 /* 00002CC6 */
00002CA0 2450 movea.l A2, [A0]
00002CA2 544A addq.w A2, 2
00002CA4 322F 0010 move.w D1, [A7 + 0x10]
00002CA8 B25A cmp.w D1, [A2]+
00002CAA 6E1A bgt +0x1C /* 00002CC6 */
00002CAC 5341 subq.w D1, 1
label00002CAE:
00002CAE 6D16 blt +0x18 /* 00002CC6 */
00002CB0 204A movea.l A0, A2
00002CB2 7002 moveq.l D0, 0x02
00002CB4 D028 0008 add.b D0, [A0 + 0x8]
00002CB8 0240 FFFE andi.w D0, 0xFFFE
00002CBC 5040 addq.w D0, 8
00002CBE D4C0 add.w A2, D0
00002CC0 A02E syscall BlockMove/BlockMoveData
00002CC2 5341 subq.w D1, 1
00002CC4 60E8 bra -0x16 /* 00002CAE */
label00002CC6:
00002CC6 4CDF 0C00 movem.l A2,A3, [A7]+
00002CCA 205F movea.l A0, [A7]+
00002CCC 5C4F addq.w A7, 6
00002CCE 4ED0 jmp [A0]
fn00002CD0:
00002CD0 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00002CD4 A025 syscall GetHandleSize
00002CD6 4A80 tst.l D0
00002CD8 6F28 ble +0x2A /* 00002D02 */
00002CDA 2050 movea.l A0, [A0]
00002CDC 5448 addq.w A0, 2
00002CDE 322F 0004 move.w D1, [A7 + 0x4]
00002CE2 B258 cmp.w D1, [A0]+
00002CE4 6E1C bgt +0x1E /* 00002D02 */
00002CE6 5341 subq.w D1, 1
label00002CE8:
00002CE8 6D18 blt +0x1A /* 00002D02 */
00002CEA 6712 beq +0x14 /* 00002CFE */
00002CEC 7002 moveq.l D0, 0x02
00002CEE D028 0008 add.b D0, [A0 + 0x8]
00002CF2 0240 FFFE andi.w D0, 0xFFFE
00002CF6 5040 addq.w D0, 8
00002CF8 D0C0 add.w A0, D0
00002CFA 5341 subq.w D1, 1
00002CFC 60EA bra -0x14 /* 00002CE8 */
label00002CFE:
00002CFE 42A8 0002 clr.l [A0 + 0x2]
label00002D02:
00002D02 205F movea.l A0, [A7]+
00002D04 544F addq.w A7, 2
00002D06 4ED0 jmp [A0]
fn00002D08:
00002D08 206F 0004 movea.l A0, [A7 + 0x4]
00002D0C 2050 movea.l A0, [A0]
00002D0E A9E1 syscall HandToHand
00002D10 226F 0004 movea.l A1, [A7 + 0x4]
00002D14 2288 move.l [A1], A0
00002D16 3F40 0008 move.w [A7 + 0x8], D0
00002D1A 2E9F move.l [A7], [A7]+
00002D1C 4E75 rts
fn00002D1E:
00002D1E 4E56 0000 link A6, 0
00002D22 594F subq.w A7, 4
00002D24 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00002D2A 3F2E 000A move.w -[A7], [A6 + 0xA]
00002D2E A9A0 syscall GetResource
00002D30 226E 000C movea.l A1, [A6 + 0xC]
00002D34 4211 clr.b [A1]
00002D36 201F move.l D0, [A7]+
00002D38 6722 beq +0x24 /* 00002D5C */
00002D3A 2040 movea.l A0, D0
00002D3C 2050 movea.l A0, [A0]
00002D3E 3018 move.w D0, [A0]+
00002D40 322E 0008 move.w D1, [A6 + 0x8]
00002D44 6716 beq +0x18 /* 00002D5C */
00002D46 B240 cmp.w D1, D0
00002D48 6212 bhi +0x14 /* 00002D5C */
00002D4A 7000 moveq.l D0, 0x00
label00002D4C:
00002D4C 5341 subq.w D1, 1
00002D4E 6706 beq +0x8 /* 00002D56 */
00002D50 1018 move.b D0, [A0]+
00002D52 D1C0 add.l A0, D0
00002D54 60F6 bra -0x8 /* 00002D4C */
label00002D56:
00002D56 1010 move.b D0, [A0]
00002D58 5240 addq.w D0, 1
00002D5A A02E syscall BlockMove/BlockMoveData
label00002D5C:
00002D5C 4E5E unlink A6
00002D5E 205F movea.l A0, [A7]+
00002D60 508F addq.l A7, 8
00002D62 4ED0 jmp [A0]
export_12:
00002D64 4E56 0000 link A6, 0
00002D68 203C 0000 A89F move.l D0, 0xA89F
00002D6E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002D70 2F08 move.l -[A7], A0
00002D72 203C 0000 A0AD move.l D0, 0xA0AD
00002D78 A346 syscall GetOSTrapAddress, flags=3
00002D7A B1DF cmpa.l A0, [A7]+
00002D7C 670E beq +0x10 /* 00002D8C */
00002D7E 202E 000C move.l D0, [A6 + 0xC]
00002D82 A1AD syscall Gestalt, flags=1
00002D84 226E 0008 movea.l A1, [A6 + 0x8]
00002D88 2288 move.l [A1], A0
00002D8A 6026 bra +0x28 /* 00002DB2 */
label00002D8C:
00002D8C 41FA 0036 lea.l A0, [PC + 0x36 /* 00002DC4, value 0x76657273 'vers' */]
00002D90 303C EA51 move.w D0, 0xEA51
00002D94 222E 000C move.l D1, [A6 + 0xC]
label00002D98:
00002D98 B298 cmp.l D1, [A0]+
00002D9A 6706 beq +0x8 /* 00002DA2 */
00002D9C 4A98 tst.l [A0]+
00002D9E 6712 beq +0x14 /* 00002DB2 */
00002DA0 60F6 bra -0x8 /* 00002D98 */
label00002DA2:
00002DA2 43FA 0020 lea.l A1, [PC + 0x20 /* 00002DC4, value 0x76657273 'vers' */]
00002DA6 D3D0 add.l A1, [A0]
00002DA8 4ED1 jmp [A1]
label00002DAA:
00002DAA 226E 0008 movea.l A1, [A6 + 0x8]
00002DAE 2280 move.l [A1], D0
00002DB0 4240 clr.w D0
label00002DB2:
00002DB2 3D40 0010 move.w [A6 + 0x10], D0
00002DB6 4E5E unlink A6
00002DB8 205F movea.l A0, [A7]+
00002DBA 508F addq.l A7, 8
00002DBC 4ED0 jmp [A0]
label00002DBE:
00002DBE 303C EA52 move.w D0, 0xEA52
00002DC2 60EE bra -0x10 /* 00002DB2 */
00002DC4 7665 moveq.l D3, 0x65
00002DC6 7273 moveq.l D1, 0x73
00002DC8 0000 0060 ori.b D0, 0x60 /* '`' */
00002DCC 6D61 blt +0x63 /* 00002E2F */
00002DCE 6368 bls +0x6A /* 00002E38 */
00002DD0 0000 0064 ori.b D0, 0x64 /* 'd' */
00002DD4 7379 moveq.l D1, 0x79
00002DD6 7376 moveq.l D1, 0x76
00002DD8 0000 0088 ori.b D0, 0x88
00002DDC 7072 moveq.l D0, 0x72
00002DDE 6F63 ble +0x65 /* 00002E43 */
00002DE0 0000 0092 ori.b D0, 0x92
00002DE4 6670 bne +0x72 /* 00002E56 */
00002DE6 7520 moveq.l D2, 0x20
00002DE8 0000 009E ori.b D0, 0x9E
00002DEC 7164 moveq.l D0, 0x64
00002DEE 2020 move.l D0, -[A0]
00002DF0 0000 00E8 ori.b D0, 0xE8
00002DF4 6B62 bmi +0x64 /* 00002E58 */
00002DF6 6420 bcc +0x22 /* 00002E18 */
00002DF8 0000 011A ori.b D0, 0x1A
00002DFC 6174 bsr +0x76 /* 00002E72 */
00002DFE 6C6B bge +0x6D /* 00002E6B */
00002E00 0000 0142 ori.b D0, 0x42 /* 'B' */
00002E04 6D6D blt +0x6F /* 00002E73 */
00002E06 7520 moveq.l D2, 0x20
00002E08 0000 0164 ori.b D0, 0x64 /* 'd' */
00002E0C 7261 moveq.l D1, 0x61
00002E0E 6D20 blt +0x22 /* 00002E30 */
00002E10 0000 0188 ori.b D0, 0x88
00002E14 6C72 bge +0x74 /* 00002E88 */
00002E16 616D bsr +0x6F /* 00002E85 */
label00002E18:
00002E18 0000 0188 ori.b D0, 0x88
00002E1C 0000 0000 ori.b D0, 0x0
00002E20 0000 0000 ori.b D0, 0x0
00002E24 7001 moveq.l D0, 0x01
00002E26 6082 bra -0x7C /* 00002DAA */
00002E28 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00002E2C 7004 moveq.l D0, 0x04
00002E2E 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00002E30-00002E38
label00002E30:
00002E30 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00002E30-00002E38
label00002E30: // (misaligned)
00002E34 6712 beq +0x14 /* 00002E48 */
00002E36 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00002E38-00002E3E
label00002E38:
00002E38 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00002E38-00002E3E
label00002E38: // (misaligned)
00002E3C 6604 bne +0x6 /* 00002E42 */
00002E3E 5240 addq.w D0, 1
00002E40 6006 bra +0x8 /* 00002E48 */
label00002E42:
00002E42 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00002E46 5C80 addq.l D0, 6
label00002E48:
00002E48 6000 FF60 bra -0x9E /* 00002DAA */
00002E4C 7000 moveq.l D0, 0x00
00002E4E 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00002E52 6000 FF56 bra -0xA8 /* 00002DAA */
label00002E56:
00002E56 7000 moveq.l D0, 0x00
label00002E58:
00002E58 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00002E5C 5240 addq.w D0, 1
00002E5E 6000 FF4A bra -0xB4 /* 00002DAA */
00002E62 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00002E68 6738 beq +0x3A /* 00002EA2 */
00002E6A 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00002E70 6734 beq +0x36 /* 00002EA6 */
fn00002E72:
00002E72 204F movea.l A0, A7
00002E74 F280 .extension 0x280 // unimplemented
00002E76 0000 F327 ori.b D0, 0x27 /* '\'' */
00002E7A 3017 move.w D0, [A7]
00002E7C 2E48 movea.l A7, A0
00002E7E 0C40 1F18 cmpi.w D0, 0x1F18
00002E82 6716 beq +0x18 /* 00002E9A */
00002E84 0C40 3F18 cmpi.w D0, 0x3F18
label00002E88:
00002E88 6710 beq +0x12 /* 00002E9A */
00002E8A 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00002E8E 670E beq +0x10 /* 00002E9E */
00002E90 0C40 1F38 cmpi.w D0, 0x1F38
00002E94 6708 beq +0xA /* 00002E9E */
00002E96 7000 moveq.l D0, 0x00
00002E98 600E bra +0x10 /* 00002EA8 */
label00002E9A:
00002E9A 7001 moveq.l D0, 0x01
00002E9C 600A bra +0xC /* 00002EA8 */
label00002E9E:
00002E9E 7002 moveq.l D0, 0x02
00002EA0 6006 bra +0x8 /* 00002EA8 */
label00002EA2:
00002EA2 7003 moveq.l D0, 0x03
00002EA4 6002 bra +0x4 /* 00002EA8 */
label00002EA6:
00002EA6 7000 moveq.l D0, 0x00
label00002EA8:
00002EA8 6000 FF00 bra -0xFE /* 00002DAA */
00002EAC 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00002EB2 6E1C bgt +0x1E /* 00002ED0 */
00002EB4 303C A89F move.w D0, 0xA89F
00002EB8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002EBA 2408 move.l D2, A0
00002EBC 203C 0000 AB03 move.l D0, 0xAB03
00002EC2 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002EC4 203C 0000 0100 move.l D0, 0x100
00002ECA B488 cmp.l D2, A0
00002ECC 6606 bne +0x8 /* 00002ED4 */
00002ECE 600A bra +0xC /* 00002EDA */
label00002ED0:
00002ED0 7000 moveq.l D0, 0x00
00002ED2 6006 bra +0x8 /* 00002EDA */
label00002ED4:
00002ED4 203C 0000 0200 move.l D0, 0x200
label00002EDA:
00002EDA 6000 FECE bra -0x130 /* 00002DAA */
00002EDE 1038 021E move.b D0, [0x0000021E /* KbdType */]
00002EE2 41FA 0016 lea.l A0, [PC + 0x16 /* 00002EFA, value 0x3130B02 */]
00002EE6 2248 movea.l A1, A0
label00002EE8:
00002EE8 1218 move.b D1, [A0]+
00002EEA 6700 FED2 beq -0x12C /* 00002DBE */
00002EEE B200 cmp.b D1, D0
00002EF0 66F6 bne -0x8 /* 00002EE8 */
00002EF2 91C9 sub.l A0, A1
00002EF4 2008 move.l D0, A0
00002EF6 6000 FEB2 bra -0x14C /* 00002DAA */
00002EFA 0313 btst [A3], D1
00002EFC 0B02 btst D2, D5
00002EFE 0106 btst D6, D0
00002F00 0704 btst D4, D3
00002F02 0508 btst A0, D2
00002F04 0900 btst D0, D4
00002F06 7000 moveq.l D0, 0x00
00002F08 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00002F0C 6B16 bmi +0x18 /* 00002F24 */
00002F0E 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00002F12 0201 000F andi.b D1, 0xF
00002F16 0C01 0001 cmpi.b D1, 0x1
00002F1A 6608 bne +0xA /* 00002F24 */
00002F1C 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00002F20 1028 0007 move.b D0, [A0 + 0x7]
label00002F24:
00002F24 6000 FE84 bra -0x17A /* 00002DAA */
00002F28 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00002F2E 6D16 blt +0x18 /* 00002F46 */
00002F30 7000 moveq.l D0, 0x00
00002F32 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00002F36 0C00 0001 cmpi.b D0, 0x1
00002F3A 670C beq +0xE /* 00002F48 */
00002F3C 0C00 0003 cmpi.b D0, 0x3
00002F40 6D04 blt +0x6 /* 00002F46 */
00002F42 5340 subq.w D0, 1
00002F44 6002 bra +0x4 /* 00002F48 */
label00002F46:
00002F46 7000 moveq.l D0, 0x00
label00002F48:
00002F48 6000 FE60 bra -0x19E /* 00002DAA */
00002F4C 303C A89F move.w D0, 0xA89F
00002F50 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002F52 2408 move.l D2, A0
00002F54 203C 0000 A88F move.l D0, 0xA88F
00002F5A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002F5C 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00002F60 B488 cmp.l D2, A0
00002F62 670A beq +0xC /* 00002F6E */
00002F64 598F subq.l A7, 4
00002F66 3F3C 0016 move.w -[A7], 0x16
00002F6A A88F syscall OSDispatch
00002F6C 201F move.l D0, [A7]+
label00002F6E:
00002F6E 6000 FE3A bra -0x1C4 /* 00002DAA */
fn00002F72:
00002F72 206F 0004 movea.l A0, [A7 + 0x4]
00002F76 202F 0008 move.l D0, [A7 + 0x8]
00002F7A 4267 clr.w -[A7]
00002F7C A9EE syscall Pack7/DecStr68K
00002F7E 205F movea.l A0, [A7]+
00002F80 504F addq.w A7, 8
00002F82 4ED0 jmp [A0]
fn00002F84:
00002F84 225F movea.l A1, [A7]+
00002F86 201F move.l D0, [A7]+
00002F88 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
00002F8E 6606 bne +0x8 /* 00002F96 */
00002F90 A055 syscall StripAddress
00002F92 2E80 move.l [A7], D0
00002F94 4ED1 jmp [A1]
label00002F96:
00002F96 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00002F9A 2E80 move.l [A7], D0
00002F9C 4ED1 jmp [A1]
fn00002F9E:
00002F9E 202F 0004 move.l D0, [A7 + 0x4]
00002FA2 2F40 0008 move.l [A7 + 0x8], D0
00002FA6 6726 beq +0x28 /* 00002FCE */
00002FA8 2040 movea.l A0, D0
00002FAA 2248 movea.l A1, A0
00002FAC 1019 move.b D0, [A1]+
00002FAE 671E beq +0x20 /* 00002FCE */
label00002FB0:
00002FB0 1211 move.b D1, [A1]
00002FB2 12C0 move.b [A1]+, D0
00002FB4 1001 move.b D0, D1
00002FB6 66F8 bne -0x6 /* 00002FB0 */
00002FB8 93C8 sub.l A1, A0
00002FBA 2009 move.l D0, A1
00002FBC 5340 subq.w D0, 1
00002FBE 0C80 0000 00FF cmpi.l D0, 0xFF
00002FC4 6F06 ble +0x8 /* 00002FCC */
00002FC6 203C 0000 00FF move.l D0, 0xFF
label00002FCC:
00002FCC 1080 move.b [A0], D0
label00002FCE:
00002FCE 225F movea.l A1, [A7]+
00002FD0 584F addq.w A7, 4
00002FD2 4ED1 jmp [A1]
fn00002FD4:
00002FD4 225F movea.l A1, [A7]+
00002FD6 201F move.l D0, [A7]+
00002FD8 2E80 move.l [A7], D0
00002FDA 6712 beq +0x14 /* 00002FEE */
00002FDC 2040 movea.l A0, D0
00002FDE 7000 moveq.l D0, 0x00
00002FE0 1010 move.b D0, [A0]
00002FE2 6004 bra +0x6 /* 00002FE8 */
label00002FE4:
00002FE4 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00002FE8:
00002FE8 51C8 FFFA dbf D0, -0x8 /* 00002FE4 */
00002FEC 4210 clr.b [A0]
label00002FEE:
00002FEE 4ED1 jmp [A1]
00002FF0 0000 03AA ori.b D0, 0xAA
00002FF4 0001 0000 ori.b D1, 0x0
00002FF8 0000 0014 ori.b D0, 0x14
00002FFC 0000 0098 ori.b D0, 0x98
00003000 0000 0000 ori.b D0, 0x0
00003004 C001 and.b D0, D1
00003006 0100 btst D0, D0
00003008 0381 bclr D1, D1
0000300A 1D01 move.b -[A6], D1
0000300C 0001 0001 ori.b D1, 0x1
00003010 0501 btst D1, D2
00003012 010B btst A3, D0
00003014 013A 1101 btst [PC + 0x1101 /* 00004117 */], D0
00003018 3A00 move.w D5, D0
0000301A 5380 subq.l D0, 1
0000301C DC28 255F add.b D6, [A0 + 0x255F]
00003020 5374 6174 subq.w <<invalid full ext with I/IS == 4>>, 1
00003024 6963 bvs +0x65 /* 00003089 */
00003026 5F43 subq.w D3, 7
00003028 6F6E ble +0x70 /* 00003098 */
0000302A 7374 moveq.l D1, 0x74
0000302C 7275 moveq.l D1, 0x75
0000302E 6374 bls +0x76 /* 000030A4 */
00003030 6F72 ble +0x74 /* 000030A4 */
00003032 5F44 subq.w D4, 7
00003034 6573 bcs +0x75 /* 000030A9 */
00003036 7472 moveq.l D2, 0x72
00003038 7563 moveq.l D2, 0x63
0000303A 746F moveq.l D2, 0x6F
0000303C 725F moveq.l D1, 0x5F
0000303E 506F 696E addq.w [A7 + 0x696E], 8
00003042 7465 moveq.l D2, 0x65
00003044 7273 moveq.l D1, 0x73
00003046 0028 255F 5374 ori.b [A0 + 0x5374], 0x5F /* '_' */
0000304C 6174 bsr +0x76 /* 000030C2 */
0000304E 6963 bvs +0x65 /* 000030B3 */
00003050 5F43 subq.w D3, 7
00003052 6F6E ble +0x70 /* 000030C2 */
00003054 7374 moveq.l D1, 0x74
00003056 7275 moveq.l D1, 0x75
00003058 6374 bls +0x76 /* 000030CE */
0000305A 6F72 ble +0x74 /* 000030CE */
0000305C 5F44 subq.w D4, 7
0000305E 6573 bcs +0x75 /* 000030D3 */
00003060 7472 moveq.l D2, 0x72
00003062 7563 moveq.l D2, 0x63
00003064 746F moveq.l D2, 0x6F
00003066 725F moveq.l D1, 0x5F
00003068 506F 696E addq.w [A7 + 0x696E], 8
0000306C 7465 moveq.l D2, 0x65
0000306E 7273 moveq.l D1, 0x73
00003070 4003 negx.b D3
00003072 0153 bchg [A3], D0
00003074 4820 nbcd.b -[A0]
00003076 09FF bset <<invalid special address>>, D4
00003078 FFFF .extension 0xFFF // unimplemented
0000307A 12FF move.b [A1]+, <<invalid special address>>
0000307C FFFF .extension 0xFFF // unimplemented
0000307E 1A81 move.b [A5], D1
00003080 0207 FFFF andi.b D7, 0xFF
00003084 FF1E .extension 0xF1E // unimplemented
00003086 1000 move.b D0, D0
00003088 8147 0206 pack D0, D7, 0x0206
0000308C 0000 0000 ori.b D0, 0x0
00003090 2FF4 6D70 .incomplete
00003094 7764 moveq.l D3, 0x64